diff options
author | Patrik Nyblom <[email protected]> | 2010-12-03 09:51:00 +0100 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2010-12-03 09:51:00 +0100 |
commit | 6ea8348174c62812057dd552d0890b2d9d4a3c16 (patch) | |
tree | 67e20665a3853ae407eccc8ac6c4428b440e266c /lib/stdlib | |
parent | 6ba7c90dd6ccd7a6a6c661c51f17c44a124d2182 (diff) | |
download | otp-6ea8348174c62812057dd552d0890b2d9d4a3c16.tar.gz otp-6ea8348174c62812057dd552d0890b2d9d4a3c16.tar.bz2 otp-6ea8348174c62812057dd552d0890b2d9d4a3c16.zip |
Add documentation to erlang.xml and slight correction to unicode_usage.xml
Diffstat (limited to 'lib/stdlib')
-rw-r--r-- | lib/stdlib/doc/src/unicode_usage.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/doc/src/unicode_usage.xml b/lib/stdlib/doc/src/unicode_usage.xml index df8e6c6b47..c02ea3cbcb 100644 --- a/lib/stdlib/doc/src/unicode_usage.xml +++ b/lib/stdlib/doc/src/unicode_usage.xml @@ -189,7 +189,7 @@ Eshell V5.7 (abort with ^G) <p>For most systems, turning on Unicode file name translation is no problem even if it uses transparent file naming. Very few systems have mixed file name encodings. A consistent UTF-8 named system will work perfectly in Unicode file name mode. It is still however considered experimental in R14B01. Unicode file name translation is turned on with the <c>+fnu</c> switch to the <c>erl</c> program. If the VM is started in Unicode file name translation mode, <c>file:native_name_encoding/0</c> will return the atom <c>utf8</c>.</p> -<p>In Unicode file name mode, file names given to the BIF <c>open_port/2</c> with the option <c>{spawn_executable,...}</c> are also interpreted as Unicode. So is the parameter list given in the <c>argv</c> option available when using <c>spawn_executable</c>. The UTF-8 translation of arguments can be avoided using binaries, see the discussion about raw file names below.</p> +<p>In Unicode file name mode, file names given to the BIF <c>open_port/2</c> with the option <c>{spawn_executable,...}</c> are also interpreted as Unicode. So is the parameter list given in the <c>args</c> option available when using <c>spawn_executable</c>. The UTF-8 translation of arguments can be avoided using binaries, see the discussion about raw file names below.</p> <p>It is worth noting that the file <c>encoding</c> options given when opening a file has nothing to do with the file <em>name</em> encoding convention. You can very well open files containing UTF-8 but having file names in ISO-latin-1 or vice versa.</p> |