Unicode Mangling on tcp.httpClient

Bill Humphries whump at apple.com
Tue Aug 6 10:20:53 PDT 2002


On Monday, August 5, 2002, at 11:08 PM, David A. Bayly wrote:

> Try setting an accept header explicitly , so that you rule out accepting 
> unicode, which Frontier doesn't support.
>
>> I'm reading a URL that returns unicode text using tcp.httpClient ().
,..
>> Any ideas on how to tame this?

I set the Accept-Encoding header to iso-8859-1, then used 
string.latinToMac () on the response body, and it works.

Many thanks.

-- whump




More information about the Frontier-Users mailing list