diff options
author | Rickard Green <[email protected]> | 2013-01-10 12:47:46 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2013-01-16 17:16:52 +0100 |
commit | 0dd3b88cdf90283d9c276ee415f985cb764e522f (patch) | |
tree | 1584d76d9960339a03c04412ef7919473e7b2efc /lib/kernel | |
parent | 5d79f55ca441727578d34b78ee0d6d8aa80976ee (diff) | |
download | otp-0dd3b88cdf90283d9c276ee415f985cb764e522f.tar.gz otp-0dd3b88cdf90283d9c276ee415f985cb764e522f.tar.bz2 otp-0dd3b88cdf90283d9c276ee415f985cb764e522f.zip |
UTF-8 support for distribution
Diffstat (limited to 'lib/kernel')
-rw-r--r-- | lib/kernel/include/dist.hrl | 1 | ||||
-rw-r--r-- | lib/kernel/src/dist_util.erl | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/kernel/include/dist.hrl b/lib/kernel/include/dist.hrl index 5b52f6f294..91e13d99a9 100644 --- a/lib/kernel/include/dist.hrl +++ b/lib/kernel/include/dist.hrl @@ -36,3 +36,4 @@ -define(DFLAG_UNICODE_IO,16#1000). -define(DFLAG_DIST_HDR_ATOM_CACHE,16#2000). -define(DFLAG_SMALL_ATOM_TAGS, 16#4000). +-define(DFLAG_UTF8_ATOMS, 16#10000). diff --git a/lib/kernel/src/dist_util.erl b/lib/kernel/src/dist_util.erl index f0d54a2f3e..b1d32322e3 100644 --- a/lib/kernel/src/dist_util.erl +++ b/lib/kernel/src/dist_util.erl @@ -115,7 +115,8 @@ make_this_flags(RequestType, OtherNode) -> ?DFLAG_NEW_FLOATS bor ?DFLAG_UNICODE_IO bor ?DFLAG_DIST_HDR_ATOM_CACHE bor - ?DFLAG_SMALL_ATOM_TAGS). + ?DFLAG_SMALL_ATOM_TAGS bor + ?DFLAG_UTF8_ATOMS). handshake_other_started(#hs_data{request_type=ReqType}=HSData0) -> {PreOtherFlags,Node,Version} = recv_name(HSData0), |