Re:I Can’t Write My Name in Unicode
by jdmichal on Wednesday March 18, 2015 @10:15AM
(#9225582)
I think you missed the part where `i` is not incremented in the for statement, but inside the loop using `Character.charCount`, which returns the number of `char` necessary to represent the code point. If there's something wrong with this, my unit tests have never brought it up, and I am always sure to test with multi-`char` codepoints.
[ Parent
| on HN ]