Byte-Order-Mark confusing Oxygen

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
dpetrie
Posts: 9
Location: Garmisch, Germany

Byte-Order-Mark confusing Oxygen

Wed Mar 05, 2003 6:42 pm

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
george
Site Admin
Posts: 2100

Fri Mar 07, 2003 10:54 am

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/bugParade/bugs/4508058.html

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

Best Regards,
George

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 1 guest