Can a valid Unicode string contain FFFF? Is Java/CharacterIterator broken? - Stack Overflow
Answering your questions: Is the prescribed traversal idiom "broken" because it makes the wrong assumption about \uFFFF? No. U+FFFF is a so-called non-character. From Section 16.7 of the Unicode Standard: Noncharacters are code points that are permane...