Charset problem (Was: Re: Weather reporting in Rev)

Dom mcdomi at free.fr
Thu Jun 18 10:09:07 EDT 2009


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 page
> which is this URL:
> 
> http://www.weather.com/weather/local/54701?lswe=54701&lwsa=WeatherLocalUndec
> lared&from=searchbox_localwx

Here in France, we have a subsidiary of weather.com named meteo123.com*
:-)

Anyway, your technique is working -- but, as the web is coded according
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 "MacOS"
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
parse




More information about the use-livecode mailing list