Door Games Unlimited

Welcome, Guest.


Subject: Re: WX Date: Tue Mar 29 2016 16:23:46
From: Doctor Who To: KenDB3

  Re: Re: WX
  By: KenDB3 to Digital Man on Tue Mar 29 2016 11:12 am

 > I think my problem is that data is coming back from Weather Underground in
 > UTF-8, which is not a problem when it is in (US) English, but starts to
 > present a problem with the couple of Latin based languages I tried to
 > implement. Is there any way to clean/convert the text before displaying it?
 >
 > Someone asked for this feature, and I thought it would be an easier ask than
 > some of the other requests I got, but it proved more challenging thanks to
 > the UTF-8 characters.
 >
 > Any advice is welcome :-)
 >
 > ~KenDB3
 >
If you're running on Linux, you could pass the text through iconv. Something
like "cat utf8encodedfile.txt | iconv -f utf8 -t cp437 > cp437encodedfile.txt"

---
 ■ Synchronet ■ The 5th Dimension: the5thd.synchro.net

Previous Message       Next Message
In Reply To: Re: WX (KenDB3)