Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: utf-8
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.
On Dec 18, 3:55pm, Ray Andrews wrote:
} Subject: Re: utf-8
}
} 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?
Do you mean for '\n' to be interpreted as newline, or to be interpreted
as "a literal 'n'"?
} Or some even more different alphabet that has nothing like 'n' at all?
} Or do you have 'n' available to you exactly as in Latin?
Unicode is intended to be a "universal" character encoding, meaning that
all characters in all character sets are included. So a literal 'n' is
always a literal 'n', and a newline is always a newline.
Unlike say the ISO set of character encodings, which have all of ASCII
in common but may use the same code point for different characters in
different languages, Unicode has only one code point for each possible
character regardless of language. UTF-8 is the classic compromise that
made almost no one happy, because to fit everything into that code point
range a number of visually similar but semantically distinct ideograms
in various languages had to be combined on the same code points.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author