From: Štěpán Němec Date: Mon, 24 Oct 2011 11:09:19 GMT Subject: Re: [PATCH 00/22] Refactor to accept NUL in commit messages Message-ID: <87wrbu4peo.fsf@gmail.com> In-Reply-To: On Mon, 24 Oct 2011 07:10:08 +0200 Nguyen Thai Ngoc Duy wrote: > This is argument for the sake of argument because I don't use utf-16 > and do not care much. UTF-16 can have more code points and some may > prefer utf-16 to utf-8. I suspect this is really tangential to this thread, but I can't make much sense of that last sentence -- if you meant that UTF-16 is somehow more apt at encoding Unicode code points than UTF-8, then that's not the case. Both can represent all Unicode characters. If anything, things are _more_, not less complicated in UTF-16, which apart from the NUL and endianness complications has to jump through the "surrogate pairs" hoop for code points bigger than U+FFFF (so you'll actually find many apps with buggy UTF-16 implementation which break for those code points, unlike when using UTF-8). -- Štěpán