aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/doc/src/heart.xml
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2013-02-13 19:47:27 +0100
committerSiri Hansen <[email protected]>2013-03-19 14:50:12 +0100
commitd632c13e6f8953855284f3c2317e94a1e69fa2f5 (patch)
tree95746e8f9a960a501b7811cf901d6e797b588d6f /lib/kernel/doc/src/heart.xml
parent0be34905e603ca9e1acb5ea763bf25cdab8d5d7c (diff)
downloadotp-d632c13e6f8953855284f3c2317e94a1e69fa2f5.tar.gz
otp-d632c13e6f8953855284f3c2317e94a1e69fa2f5.tar.bz2
otp-d632c13e6f8953855284f3c2317e94a1e69fa2f5.zip
Convert command string to encoded binary in heart:set_cmd/1
OTP-10843 In order to allow unicode filenames in heart commands, the command string is now encoded according to the file name translation mode of the emulator (file:native_name_encoding()) before it is sent to the heart process.
Diffstat (limited to 'lib/kernel/doc/src/heart.xml')
-rw-r--r--lib/kernel/doc/src/heart.xml11
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/kernel/doc/src/heart.xml b/lib/kernel/doc/src/heart.xml
index 2856d84dcf..3464832360 100644
--- a/lib/kernel/doc/src/heart.xml
+++ b/lib/kernel/doc/src/heart.xml
@@ -4,7 +4,7 @@
<erlref>
<header>
<copyright>
- <year>1996</year><year>2012</year>
+ <year>1996</year><year>2013</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
@@ -118,8 +118,13 @@
the system. The new Erlang runtime system will (if it
misbehaves) use the environment variable
<c>HEART_COMMAND</c> to reboot.</p>
- <p>Limitations: The length of the <c><anno>Cmd</anno></c> command string
- must be less than 2047 characters.</p>
+
+ <p>Limitations: The <c><anno>Cmd</anno></c> command string
+ will be sent to the heart program as a ISO-latin-1 or UTF-8
+ encoded binary depending on the file name encoding mode of the
+ emulator (see
+ <seealso marker="kernel:file#native_name_encoding/0"><c>file:native_name_encoding/0</c></seealso>).
+ The size of the encoded binary must be less than 2047 bytes.</p>
</desc>
</func>
<func>