You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 25, 2025. It is now read-only.
WASI currently doesn't document the character sets used for filesystem paths, command-line arguments or environment variables.
Two high-level strategies have been proposed:
Just use UTF-8, and say that WASI can't directly interact with non-UTF-8-encodable strings from the outside world. Where needed, provide escape-hatch features in the API (eg., you can't open a file with an unencodable name by name, but you can get to it by iterating through a directory).
Use uninterpreted byte seqeunces, and then additional functions for translating to and from UTF-8, as described here.