diff options
author | Björn Gustavsson <[email protected]> | 2011-08-30 11:51:11 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-10-13 14:16:00 +0200 |
commit | 34db76765561487e526fe66d3d19ecf3b3fb9dc8 (patch) | |
tree | 9141e3c5729e46d03c8b27b14da3b29b1e54abca /erts/emulator/beam/erl_process.c | |
parent | 6ca6dd3c670fb8185ebb9a20c2a731a7375c1cac (diff) | |
download | otp-34db76765561487e526fe66d3d19ecf3b3fb9dc8.tar.gz otp-34db76765561487e526fe66d3d19ecf3b3fb9dc8.tar.bz2 otp-34db76765561487e526fe66d3d19ecf3b3fb9dc8.zip |
Allow noncharacter code points in unicode encoding and decoding
The two noncharacter code points 16#FFFE and 16#FFFF were not
allowed to be encoded or decoded using the unicode module or
bit syntax. That causes an inconsistency, since the noncharacters
16#FDD0 to 16#FDEF could be encoded/decoded.
There is two ways to fix that inconsistency.
We have chosen to allow 16#FFFE and 16#FFFF to be encoded and
decoded, because the noncharacters could be useful internally
within an application and it will make encoding and decoding
slightly faster.
Reported-by: Alisdair Sullivan
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
0 files changed, 0 insertions, 0 deletions