Charset problem (Was: Re: Weather reporting in Rev)
lists at futilism.com
Thu Jun 18 13:37:34 CDT 2009
Dom, I use these two functions in my library to deal with utf8:
function utf8decode pString
function utf8encode pString
They will convert to and from whatever you're local charset is.
On 18 Jun 2009, at 15:09, Dom wrote:
> Ken Ray <kray at sonsothunder.com> wrote:
>> I'd probably use "screen scraping" techniques; for example, my zip
>> code is
>> 54701, so I go to weather.com and enter my zip. That takes me to a
>> which is this URL:
> Here in France, we have a subsidiary of weather.com named
> Anyway, your technique is working -- but, as the web is coded
> to the UTF-8 charset, there are some woes with the accented characters
> The "charset" property of a stack is read-only - and can only be
> or "ISO" (i.e. ISO 8859, Latin)
> Is it possible to work around this, not by hand?
> Will the UTF-8 charset be implemented in the future?
> something like "UTFTo mac" and "MacToUTF" ;-)
> * "http://m.meteo123.com/xhtml/cc/59270"
> I preferred to take the "Mobile" version, as the code is simpler to
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode