HTTP and character encodings

Ganesh Sittampalam ganesh at
Thu Sep 13 19:31:18 CEST 2012

On 13/09/2012 09:21, Christian Maeder wrote:

> Just to make the string instance work, it is enough to ignore encoding
> and return only ascii bytes as chars or change bytes 128--255 to a
> replacement ascii char (i.e. '?').

I don't think it's really any better than using Char8.unpack. Depending
on the actual encoding you'll get variously broken results either way.



More information about the Libraries mailing list