On Thu, Nov 30, 2017 at 12:00 AM, Kris Maglione <kmagli...@mozilla.com> wrote:
> I don't think this is true. The native filename isn't even available to JS,
> which always deals with UTF-16 strings.

JS deals with 16-bit unsigned integers. In particular, you can
represent lone surrogates in JS, but not in UTF-16.


> On Windows, the UTF-16 path always corresponds to the wide native pathname,
> which is always UTF-16.

Per https://github.com/rust-lang/rust/issues/12056 that is not true
and Windows has the same flaw as JS.


-- 
https://annevankesteren.nl/
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to