aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc/src/erl.xml
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2013-02-13 17:24:05 +0100
committerPatrik Nyblom <[email protected]>2013-02-18 11:49:11 +0100
commit1b4280cd2e8dcab457562bbaacc4e1d16d372185 (patch)
tree20a060241b34237ac42fbdf78819d00fc3e6f272 /erts/doc/src/erl.xml
parent75238dc582f5dcf69dfc00b7719dca7d50ca9a68 (diff)
downloadotp-1b4280cd2e8dcab457562bbaacc4e1d16d372185.tar.gz
otp-1b4280cd2e8dcab457562bbaacc4e1d16d372185.tar.bz2
otp-1b4280cd2e8dcab457562bbaacc4e1d16d372185.zip
Document +pc flag and io:printable_range/0
Diffstat (limited to 'erts/doc/src/erl.xml')
-rw-r--r--erts/doc/src/erl.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/erts/doc/src/erl.xml b/erts/doc/src/erl.xml
index f354d68d45..88f7cd9bf1 100644
--- a/erts/doc/src/erl.xml
+++ b/erts/doc/src/erl.xml
@@ -615,6 +615,28 @@
debugging.</item>
</taglist>
</item>
+ <tag><marker id="+pc"/><marker id="max_processes"><c><![CDATA[+pc Range]]></c></marker></tag>
+ <item>
+ <p>Sets the range of characters that the system will consider printable in heuristic detection of strings. This typically affects the shell, debugger and io:format functions (when ~tp is used in the format string).</p>
+ <p>Currently two values for the <c>Range</c> are supported:
+ <taglist>
+ <tag><c>latin1</c></tag> <item>The default. Only characters
+ in the ISO-latin-1 range can be considered printable, which means
+ that a character with a code point &gt; 255 will never be
+ considered printable and that lists containing such
+ characters will be displayed as lists of integers rather
+ than text strings by tools.</item>
+ <tag><c>unicode</c></tag>
+ <item>All printable Unicode characters are considered when
+ determining if a list of integers is to be displayed in
+ string syntax. This may give unexpected results if for
+ example your font does not cover all Unicode
+ characters.</item>
+ </taglist>
+ </p>
+ <p>Se also <seealso marker="stdlib:io#printable_range/0">
+ io:printable_range/0</seealso>.</p>
+ </item>
<tag><marker id="+P"/><marker id="max_processes"><c><![CDATA[+P Number]]></c></marker></tag>
<item>
<p>Sets the maximum number of simultaneously existing processes for this