Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: utf-8



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On December 19, 2014 5:27:15 AM EAT, Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>On 12/18/2014 06:04 PM, Bart Schaefer wrote:
>> This has gone way off topic for the zsh-users list.  I don't recall
>if
>> the ietf-charsets list is still active, but that might be a better
>place
>> to go looking if it is.
>>
>Bart,
>
>Of topic? I'm wondering how one enters the newline character in zsh
>when
>one is using a different locale/alphabet.  I've only ever used English,
>
>and I'd expect that in, say, Cyrillic there would be some char that's a
>
>dead ringer for 'n' (as in '\n'), but in *principal* a Cyrillic 'n'
>might not be the same utf-8 code as 'our' 'n', so I'm wondering what
>zsh
>does about that. Spanish would have at least two 'candidates' for 'n'.
>
>What does zsh do once we are outside of good old ASCII?

I know exactly no encodings which are not able to represent ASCII characters and am pretty sure you cannot have one as a system locale even if such encoding exists. The way user enters characters is out of the scope of zsh responsibilities. It has a number of ways to input characters not present in particular keyboard layout, but usually users just have more then one layout and one of the layouts they use is some English variant.
-----BEGIN PGP SIGNATURE-----
Version: APG v1.1.1

iQJNBAEBCgA3BQJUk7aYMBwfMDI7PjIgHTg6PjswOSAQOzU6QTA9NEA+MjhHIDxr
cC1wYXZAeWFuZGV4LnJ1PgAKCRBu+P2/AXZZIgdUEADDFMCJE7GqsJgjYN6lF307
YYN73HGCcZgIN1hS89SwI8q1xj/CsclstIwV1xC5E1lsiFV8p56t3Mn1g1cMcozp
8BHCtNDFkDfzWu+PZUOGdPArCpbh5M0fHzR0zWRPjO7E02k09omfmUihV+Y4RNcF
2p6SAIImhNVhVsogSezckyD5u8K4j/oQX+9WM0pZdprPMQIuLxvpPPytmtCw7RHE
uAoXW2ksbX6a4XUgDxyMde9QQSGYdAgEFCIbCHiLx/yNO17uLPbx+8vk9PjsIOCq
Ur9AqCtbKYO+GZXC/PfR9mOHxNS3hMO5U612gflpLL7SLtasmQBq0FEEWF+U85zS
wqkbH9Fsbg4U8MzLI8/27njpndtHPUMMd3Z9BLq3+R3FJXgeusTJ1fD9xEPhijeC
lM575Vxwa6FsLOCYXCVKAjmHk5IJ3OCrjgXLyomIaocXVq8lauZ1J3NVXwyHZ0D/
j35ez2yJPkf2hxu4u0tz6hglLYyZok7aoTTW65f/3JjHNcT+qL9Ae+i4vicgNkjX
ctQbBOJx5h/rdhz0PTT9//dya2ye+QPyZFi5em1lUyLaRZhv80P/HVJY4FyZ4wXb
zcipriZAj0RTW7pE32slM/jjeYonoTFqUBmtQ0inshgAO8ozU+XgtKv+j9s5Kkcf
fmreQXkv0o0ayMb/dp4jQQ==
=xpO1
-----END PGP SIGNATURE-----



Messages sorted by: Reverse Date, Date, Thread, Author