Page 1 of 1

Byte-Order-Mark confusing Oxygen

Posted: Wed Mar 05, 2003 6:42 pm
by dpetrie
It appears that if a file is saved from Notepad as UTF-8 a Byte Order Mark is inserted. Oxygen then does not correctly open the file. The Unicode characters are garbage. If I "fix" the file by removing the BOM using UniRed then Oxygen can then again read it.

This has caused some file corruption for us where a file with a BOM was saved from Oxygen.

I believe Oxygen should be able to determine the existence of a BOM and handle it accordingly.

Darren

Posted: Fri Mar 07, 2003 10:54 am
by george
Hi Darren,

This is in fact a Java bug as the InputStreamReader should recognize and skip the BOM. You can have a look at
http://developer.java.sun.com/developer ... 08058.html

Thanks for reporting this problem. We will add code in oXygen to work around this problem.

Best Regards,
George