-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Description
Continuing the discussion from bytecodealliance/wasmtime#86:
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.
aykevl
Metadata
Metadata
Assignees
Labels
No labels