Problem with display of a character (value 65533)
807589Oct 9 2008 — edited Oct 9 2008Hi all, sorry for my english but i don't speak it very well.
I have a big problem with the visualization of a character.
I have a binary text that i have to analyze with java. With my utility all works fine, but when i get the character (binary 81) and i analayze this character i obtain an int 65533 or a byte -3 , and after a casting to char i see that java doesn't display correctly this char, infact i obtain a char like this a question mark in a square. Even if a try to write this into a text file, i can see correctly all the other char, but instead of this char i see a question mark.
Someone know why i obtain this?i have to set some specific character encoding or something like this?
I don't know if this is usefull, but these are Hebrew char.
Thanks,bye.