When add CJK(chinese ,Japanese, Keroa) charector to the TextBox, a null pointer error occured. here is the string: "Text Box Helper ’†•¶’†•¶ ƒAƒCƒeƒB["
Ah, there were two bugs: * TextBox wasn't telling TextHeaderAtom what its parent was, so it couldn't swap a TextBytesAtom for a TextCharsAtom * TextBox wasn't using the normal findTextRuns code, so was breaking on TextCharsAtom ones I've fixed TextBox, and now I can happily read and write non US-Ascii values with a TextBox. If you grab the latest SVN, it should work fine for you.