kjell icon indicating copy to clipboard operation
kjell copied to clipboard

UTF-8 support

Open zzet opened this issue 10 years ago • 2 comments

$ uname -a Darwin zzet 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64

zzet avatar Nov 27 '14 17:11 zzet

I get this too.

tekknolagi avatar May 03 '15 03:05 tekknolagi

Hi!

Thanks for reporting this. I've reproduced the issue using OTP R17 with standard shell and kjell:

$ erl pc +unicode

Erlang/OTP 17 [erts-6.4] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Eshell V6.4  (abort with ^G)
1> <<208,174,208,189,208,184,208,186,208,190,208,180>>.
<<"Юникод"/utf8>>
2> q().
$ kjell pc +unicode

 ,-. ,-. |  ,-. ,-. ,-.
 |-' |   |  ,-| | | | |
 `-' '   `' `-^ ' ' `-|
-------------------- ,| ------------------------------------------------------------------------------------------------------------
kjell v. 0.2.3      `'  Erlang/OTP 17 [erts-6.4] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

1> <<208,174,208,189,208,184,208,186,208,190,208,180>>.
<<"Юникод">>
2> q().

I think the reason for this is that the code handling unicode has changed in the standard user & group modules in later OTP releases. Kjell was based on OTP R16. Some kind of uplift is needed here.

karlll avatar May 04 '15 05:05 karlll