Support and General Use > Plugins/Viewers
UTF-8 BOM "visible" in viewer?
(1/1)
inrobert:
I have created some .txt files in UTF-8 format with Byte Order Marks (BOMs), using Windows XP SP3 Notepad and OpenOffice 3.0 Writer. In the viewer options I have set UTF-8 encoding. All the characters are correctly displayed, but at the beginning of each file there is strange rectangle that represents BOM. I have done a research at Rockbox handling of BOMs and found a patch that, I think, was supposed to solve this issue (and others) - http://www.rockbox.org/tracker/task/6203?pagenum=3. But this patch is accepted already. So was described issue really fixed? Please somebody explain this matter.
I know I can save without BOM, using Notepad2, but BOM allows Windows to recognize the UTF-8 file automatically, which is useful - for example it allows Wordpad and Lister to correctly open UTF-8 .txt files. So, as I'm using these files both with rockbox-h10-20081112 and Windows, the proper BOM handling by Rockbox is useful.
bluebrother:
That patch you linked only affected the core and isn't used by the viewer plugin. It should be rather easy to use it in the viewer plugin though ...
Navigation
[0] Message Index
Go to full version