Re: Suggestion: handle utf-8 filename in windows
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Suggestion: handle utf-8 filename in windows
- From: dyngeccetor8 <dyngeccetor8@...>
- Date: 2017年10月26日 00:32:24 +0100
On 10/25/2017 09:23 PM, Egor Skriptunoff wrote:
> But maybe someday Lua would become UTF-8-only language...
...
> Such UTF-8-only language would have some disadvantages:
> 5) All operations listed above would fail or generate exception on invalid UTF-8
> strings.
> 6) There would be no byte strings in Lua, but many users want something like
> "mutable byte arrays".
Probably we can introduce new type "byte_string" for strings like '0円xD8'.
Similarly as Lua 5.3 "integer" and "float" subtypes for type "number".
-- Martin