[erlang-questions] How to show non-ascii charaters correctly in erlang shell?
Mon Sep 15 19:09:03 CEST 2008
I can't find the patch.Would you please tell me where it is? Many thanks.
2008/9/12 devdoer bird <>
> Thanks .Can you give me the link?
> 2008/9/12 mog <>
>> On Fri, Sep 12, 2008 at 10:38:06AM +0800, devdoer bird wrote:
>> > HI:
>> > We have chinese words input /output in erlang shell,and we want to show
>> > them correctly in terminal ,but the erlang shell only show the integer
>> > number .
>> > Eg. If we input "????" in the shell,it will appear as :
>> > 9> "\326\320\316\304".
>> > "\326\320\316\304"
>> Currently ssh, telnet, and shell drivers, escape anything but ascii
>> sequences. I assumed this was for security / cleanliness issues. It is
>> easy to go alter this, I have a patch on erlang-bugs list that did just that
>> to allow for ^L to be typed and followed correctly in the shell.
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.9 (GNU/Linux)
>> -----END PGP SIGNATURE-----
>> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions