[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Should Lua be more strict about Unicode errors?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 2 Sep 2015 15:58:58 -0300
> ***Whether an actual application should do this is debatable, as it
> makes it impossible to store invalid UTF-16 (that is, UTF-16 with
> unpaired surrogate halves) in a UTF-8 string. This is necessary to
> store unchecked UTF-16 such as Windows filenames as UTF-8. It is
> also incompatible with CESU encoding (described below).***
This is the heart of the issue.
-- Roberto