diff options
author | Dan Gudmundsson <[email protected]> | 2013-03-25 12:44:20 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2013-06-03 12:46:47 +0200 |
commit | 75763bd57338b3efe8300ece094aacc8e1a7a467 (patch) | |
tree | 9ef4f74a15157183c67d5545085e453982ff46d4 /erts/emulator/beam/global.h | |
parent | c97ac1a34971ce60bd36519e7ea51db2456217df (diff) | |
download | otp-75763bd57338b3efe8300ece094aacc8e1a7a467.tar.gz otp-75763bd57338b3efe8300ece094aacc8e1a7a467.tar.bz2 otp-75763bd57338b3efe8300ece094aacc8e1a7a467.zip |
erts: Change erlang:open_port spawn to handle unicode
Previously only 'spawn_executable' handled unicode input.
Also change 'cd' option to always handle unicode.
Update open_port documentation and tests
Diffstat (limited to 'erts/emulator/beam/global.h')
-rwxr-xr-x | erts/emulator/beam/global.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h index 26ed5f82c1..f7e4c81181 100755 --- a/erts/emulator/beam/global.h +++ b/erts/emulator/beam/global.h @@ -788,6 +788,12 @@ char *erts_convert_filename_to_native(Eterm name, char *statbuf, ErtsAlcType_t alloc_type, int allow_empty, int allow_atom, Sint *used /* out */); +char *erts_convert_filename_to_encoding(Eterm name, char *statbuf, + size_t statbuf_size, + ErtsAlcType_t alloc_type, + int allow_empty, int allow_atom, + int encoding, + Sint *used /* out */); Eterm erts_convert_native_to_filename(Process *p, byte *bytes); Eterm erts_utf8_to_list(Process *p, Uint num, byte *bytes, Uint sz, Uint left, Uint *num_built, Uint *num_eaten, Eterm tail); |