[erlang-questions] How to show non-ascii charaters correctly in erlang shell?
Fri Sep 12 16:30:16 CEST 2008
On Fri, Sep 12, 2008 at 10:38:06AM +0800, devdoer bird wrote:
> 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".
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: Digital signature
More information about the erlang-questions