Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  UTF-8 BOM "visible" in viewer?
« previous next »
  • Print
Pages: [1]

Author Topic: UTF-8 BOM "visible" in viewer?  (Read 1208 times)

Offline inrobert

  • Member
  • *
  • Posts: 25
  • Aiming for perfection...
UTF-8 BOM "visible" in viewer?
« on: November 12, 2008, 08:51:57 PM »
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.
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: UTF-8 BOM "visible" in viewer?
« Reply #1 on: November 13, 2008, 02:43:47 AM »
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 ...
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  UTF-8 BOM "visible" in viewer?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.063 seconds with 15 queries.