Unicode Mangling on tcp.httpClient

David A. Bayly dbayly at udena.ch
Mon Aug 5 23:08:24 PDT 2002


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 ().
>
><p>Adem&#225;s hay que a&#241;adir los d&#237;as festivos 
>correspondientes al a&#241;o 2002</p>
>
>Becomes:
>
><p>Adem&#8730;&#176;s hay que a&#8730;&#177;adir los 
>d&#8730;&#8800;as festivos correspondientes al a&#8730;&#177;o 
>2002</p> in the string returned by tcp.httpClient ().
>
>Any ideas on how to tame this?
>
>Thanks.
>
>-- whump


-- 

- David Bayly.       Programmer and digest reader.     dbayly at udena dot ch
  		Digest Readers do it once a day.



More information about the Frontier-Users mailing list