When I enter the following string “¤¤¤¤¤¤¤¤” into a TextEditor, the string I get back from TextEditor::getText() is “Â¤Â¤Â¤Â¤Â¤Â¤Â¤Â¤” . Since I use the TE for password entry that completely FU the following MD5 hash. Why is there extra chars in the returned string?
Hmm… can’t reproduce this on the mac… Pasting the string above into the juce demo all seems fine AFAICT ?
This is on Windows (Vista). How do you mean it works fine in the demo ? How can you/I tell ? Are you looking at what TextEditor::getText() returns ? In the TextEditor itself it looks fine.
Yeah, I hacked in a DBG to make all TextEditors print out their getText() when changed. It printed the correct string when I tried it.
Ok, you did try on Windows aswell, yes ?
Not yet. Can’t think why it’d be platform specific though, unless the win32 keyboard handler is inserting those extra characters invisibly or something weird…