Hello.
Instead of nextChar(), try nextByte() and see if it fulfills your requirements.

Syed.