Problems downloading accented characters from a web page

Sarah Reichelt sarah.reichelt at gmail.com
Fri May 19 21:55:21 EDT 2006


Hi All,

I have a routine that downloads a web page and extracts certain text.
This works fine except when the characters are accented. I'm not sure
how well the characters will transfer in the email, but I'll try to
give an example:

Accented e (é) - I never could remember which was an acute and which
was a grave but it's numToChar(142). On the web page viewed in a
browser and checking the source, it looks perfect. When I download
that page into a Rev, the é becomes "√(c)" i.e. square root &
copyright, charToNum 195 & 169.

I've tried using ISOtoMac and uniDecode and the 2 combined in various
ways, but I can't get it to give me the correct accented e.

Any ideas?

TIA,
Sarah


More information about the use-livecode mailing list