[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Suggestion: handle utf-8 filename in windows
- From: dyngeccetor8 <dyngeccetor8@...>
- Date: Thu, 26 Oct 2017 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
> 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 '\0xD8'.
Similarly as Lua 5.3 "integer" and "float" subtypes for type "number".