UTF-8 decoding

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Sat Feb 11 09:54:15 EST 2006

John Meacham <john at repetae.net> writes:

> Another possibility is quasi-utf8 encoding. where it passes through any
> invalid utf8 sequences as latin1 characters. in practice, this works
> very well as interpreting both latin1 and utf8 transparently but is
> more than somewhat hacky.

It would not be reliable. I'm strongly against that: it gives an
illusion that Latin1 works, but it breaks in very rare cases.

   __("<         Marcin Kowalczyk
   \__/       qrczak at knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/

More information about the Glasgow-haskell-users mailing list