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

devdoer bird <>
Tue Sep 30 05:25:54 CEST 2008


I have a utf8  encoded file y.erl:  the source is :

And a latin encoded file x.erl, the source is:

When execute them in erlang shell,
1> x:output2().

I don't know why they  are outupted in diffrent format, one is
string-format, the other is list-format. Why aren't they birth outputed in
string-format or both in list-format?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080930/c141609a/attachment.html>

More information about the erlang-questions mailing list