Craig McDaniel wrote:
Well, the FileReader is reading into a String and then it is converted to a byte array using getBytes(). I know, its weird, but I'm not the original author of this code and its my job to "fix" it.
That's likely to be the cause of the encoding problem. There's an implicit coversion from String to bytes, which unless you specify an encoding for, falls back to the default encoding. It would be more efficient and less prone to error if you just used a FileInputStream instead. Then no conversions between byte and string and back again are required.
<snip/> Chris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
