diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-02-02 21:36:24 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-02-02 21:36:24 -0800 |
commit | 905b074cea7303553777e169529efc8aeccdc35a (patch) | |
tree | 7c46bc7444b03f5e74b82e53923349ada91663b0 /mpi-patches/fix-warnings | |
parent | 928fb0df45be6cb12a63e9d1d43504be1a595f7d (diff) | |
download | txr-905b074cea7303553777e169529efc8aeccdc35a.tar.gz txr-905b074cea7303553777e169529efc8aeccdc35a.tar.bz2 txr-905b074cea7303553777e169529efc8aeccdc35a.zip |
* utf8.c (utf8_to_uc, utf8_encode): Do not encode surrogate code
points (U+DC00 to U+DCFF) as multi-byte UTF8 sequences. We use
that range for invalid bytes on input, so on output the best thing
to do is to reproduce the original bytes. E.g the code U+DCA0
will produce the byte A0.
Diffstat (limited to 'mpi-patches/fix-warnings')
0 files changed, 0 insertions, 0 deletions