Gentoo Archives: gentoo-user

From: Wols Lists <antlists@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: ncurses; I think I wrecked my fresh install
Date: Wed, 30 Dec 2020 08:44:20
Message-Id: 5FEC4722.8070900@youngman.org.uk
In Reply to: [gentoo-user] Re: ncurses; I think I wrecked my fresh install by Grant Edwards
1 On 30/12/20 01:04, Grant Edwards wrote:
2 > You must be talking about some sort of weird "wide" encoding (is there
3 > such a thing as UTF-16?). I've never seen a file like that. Everybody
4 > and everything uses UTF-8 these days and has for years. UTF-8 is a
5 > superset of ASCII, and doesn't increase size of the file unless
6 > non-ascii characters are used. Converting an ASCII file to UTF-8
7 > encoding is a noop. An ASCII file _is_ UTF-8.
8
9 There is utf-16 - MS's default version. They wrote their unicode support
10 *before* utf-8 really was a thing. So we have the nix's settling on an
11 8-bit char, and MS settling on a 16-bit char BEFORE that. Unbaking that
12 mess would be fun ...
13
14 So that file is probably something to do with MS and ASCII-16 :-)
15
16 Cheers,
17 Wol