Byte-Order-Mark confusing Oxygen

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
dpetrie
Posts: 9
Joined: Tue Mar 04, 2003 12:05 pm
Location: Garmisch, Germany

Byte-Order-Mark confusing Oxygen

Post by dpetrie » 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
Joined: Thu Jan 09, 2003 2:58 pm

Post by george » 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 ... 08058.html

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

Best Regards,
George

Post Reply