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 2:55:07 AM EAT, Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>On 12/18/2014 01:38 PM, ZyX wrote:
>> `\n`. Escapes are defined by zsh parser, not by anything else. Same
>> for any other language. There is not much reasoning behind
>translating
>> characters after `\` and I have never seen them actually translated
>in
>> any language, no matter whether it allows unicode identifiers or not.
>
>
>Sorry, I don't understand.  Of course this is defined by zsh, but what
>char in Cyrillic will be used for '\n' in Latin?  See what I mean?  Or

No. There is no such a thing as "'\n' in Latin". There is "'\n' in $encoding" and UTF-8 as $encoding is able to represent all characters from all alphabets which were defined in Unicode standard.

>some even more different alphabet that has nothing like 'n' at all?  Or
>
>do  you have 'n' available to you exactly as in Latin?

Usually people using non-English locales have their input method set up so they can switch between languages. If not then e.g. with Russian keyboard you have much bigger problems then inputting '\n': what about "e", "c", "h", "o" and "'"? Standard Russian keybord layout has no "'" and commands are not translated.
-----BEGIN PGP SIGNATURE-----
Version: APG v1.1.1

iQJNBAEBCgA3BQJUk7UvMBwfMDI7PjIgHTg6PjswOSAQOzU6QTA9NEA+MjhHIDxr
cC1wYXZAeWFuZGV4LnJ1PgAKCRBu+P2/AXZZItEDD/9olnBIDHsRMGdosWhzATmf
Ujv7QzFDbnk7VT9lRGgoMT6ewsNla3ZeUnrxrh+yFSNfeucmugNbWQ7Otaetrnzo
PRBZQx8tDxW4RqAs6kpOBxbjY9O7iG4M3mo97WnVwlKKTensop9IAQffXcqag3dr
Nu7nLKdbt93EuriKIG62kgES8qpBTLxFcTioZRVhACON6XnY0v2P5tKMsTBPGcyG
1f8b/358WVNhApcWVdPMGlnLnknQGFARt5LmCQxhBYNhAVZOcLT3SeHkR1c2D8Kb
YxkrN9n9hHSyNZj0uHjmk+dtbUfgj9oUp+avHYPm0/U5ESH+EN1tLotTiHPW7X0D
9c/FUoeZZMrCvwUh5Gb0bGDSmJTSZ7rR2Ic4WDUbD332JeXCgX+M0A8XO7OkU+s0
zsHGwBIR/WjY3E0c6fugbkJVepVuEbREUQqUaVnjmKGCbzbeOFBtKUq2/DosnS5w
sE0tLE8xo/EgZY0xENV0Ocb7r6zookGNskofWyL2I3j9+JbRZM1DOeNtj2D4o4py
lgOU9EO23r5isoanHgy/tigD0OKvNEtSN6Z1dKnGzieR+8a7LKjgZH+VNEKsyzsS
hFdV8gsMtSrEHtNv+cjoG0RAq1Zsuo6Ss/5ex7nxCVS9Elr62BaBTzwRyw54W6W9
BZOoW6DU/tb8phHsCgPCxQ==
=gxQ8
-----END PGP SIGNATURE-----



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