[erlang-questions] How to show non-ascii charaters correctly in erlang shell?
mog
mog-lists@REDACTED
Fri Sep 12 16:30:16 CEST 2008
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.
Mog
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080912/628b6992/attachment.bin>
More information about the erlang-questions
mailing list