News for hackers. Stuff that matters.
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.
Re:I Can’t Write My Name in Unicode by elFarto on Wednesday March 18, 2015 @10:59AM (#9225944)
Your right, I did miss it, I apologize. That'll teach me to read code so early in the morning.