[erlang-questions] io:format error with UTF-8 encoding binary

Bengt Kleberg bengt.kleberg@REDACTED
Wed May 16 10:48:06 CEST 2007


On 2007-05-16 10:35, Caoyuan wrote:
> Hi,
> 
> Did somebody else encounter error when io:format(~p~n, [Bin]) where
> Bin is a binary with UTF-8 encoding string?
...deleted
> The lasted three bytes of 6.txt is <<226,128,156>>. If I remove these
> 3 bytes, everything works fine.
> 
> My environment is Windows XP. the OTP is otp_win32_R11B-4

this is not possible to reproduce on solaris.


bengt
-- 
Those were the days...
    EPO guidelines 1978: "If the contribution to the known art resides
    solely in a computer program then the subject matter is not
    patentable in whatever manner it may be presented in the claims."



More information about the erlang-questions mailing list