[erlang-questions] io format and utf8?

Kunthar <>
Wed May 20 00:24:16 CEST 2009


()19> io:format("|~10.3.+s|~n",["süö"]).
|+++++++süö|
ok

()20> io:format("|~10.3.+s|~n",["ğüö"]).
** exception exit: {badarg,[{io,format,
                                [<0.31.0>,"|~10.3.+s|~n",[[287,252,246]]]},
                            {erl_eval,do_apply,5},
                            {shell,exprs,6},
                            {shell,eval_exprs,6},
                            {shell,eval_loop,3}]}
     in function  io:o_request/3


Comments?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090520/d7627733/attachment.html>


More information about the erlang-questions mailing list