[erlang-questions] Why are the two strings outputed in diffrent format?

Bjorn Gustavsson bgustavsson@REDACTED
Tue Sep 30 07:35:09 CEST 2008


2008/9/30 devdoer bird <devdoer2@REDACTED>

> OK.  Then I 'll take a look at it io_lib.erl. But one more question: why
> the value 155 is unprintable while 228 is , considering they are both
> greater than 128.
>

Currently, Erlang assumes that all strings are in ISO latin1. 155 is a
control character in ISO latin1.

/Bjorn

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080930/3389e5f2/attachment.htm>


More information about the erlang-questions mailing list