commit | 810088b14dedcd12a9474687ba9cd05fc8297188 | [log] [tgz] |
---|---|---|
author | Dominic Evans <dominic.evans@uk.ibm.com> | Mon Mar 16 12:18:20 2015 +0000 |
committer | Dominic Evans <dominic.evans@uk.ibm.com> | Mon Mar 16 16:07:51 2015 +0000 |
tree | b6923b206e2a31d3cc79c654296f351b31427ad7 | |
parent | c2042d7d26c4383047dac2709d1a2effe0b11419 [diff] |
PROTON-834: further UTF-8 encoder fixes After commit c65e897 it turned out there were still some issues with strings containing a codepoint >0xDBFF which was being incorrectly treated as a surrogate pair in the calculateUTF8Length method. Fixed this up and added some more test coverage. Closes #13 (cherry picked from commit 7b9b516d445ab9e86a0313709c77218d901435b1)