News for hackers. Stuff that matters.
Re:Standardizing WASI: A system interface to run WebAssembly... by comex on Wednesday March 27, 2019 @07:28PM (#19507342)
That’s good to know, but the parent’s examples seem to be referencing the issue of filenames that aren’t valid Unicode. The Linux example is invalid UTF-8, since Linux filenames are natively arbitrary byte sequences. The Windows example contains an unpaired surrogate followed by the reserved codepoint 0xfffe, since Windows filenames are natively UCS-2.
Re:Standardizing WASI: A system interface to run WebAssembly... by the_mitsuhiko on Wednesday March 27, 2019 @07:57PM (#19507588)
WTF-8 could solve the windows issue and I think for Linux it’s time to demand unicode filenames :)