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
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  custom database format - How to save as ANSI
« previous next »
  • Print
Pages: [1]

Author Topic: custom database format - How to save as ANSI  (Read 2363 times)

Offline onocentaur

  • Member
  • *
  • Posts: 22
custom database format - How to save as ANSI
« on: May 28, 2007, 05:48:56 AM »
I've been slowly going crazy trying to make a custom database view and it hasn't been working properly at all. Then I notice that it has to be saved as ANSI without BOM! I have been saving as UTF-8 (like WPS!). Anyway, I'm using ubuntu and gedit as my text editor and I don't know how to save in that file format, I can only find ISO standards, foreign types and UTF-8. Can anyone tell me how to save a text file as ANSI? Thanks!
Logged

Offline elborak

  • Member
  • *
  • Posts: 177
Re: custom database format - How to save as ANSI
« Reply #1 on: May 28, 2007, 01:28:15 PM »
If a file only contains characters in the ASCII range, UTF-8 will be identical to ASCII.
Logged

Offline onocentaur

  • Member
  • *
  • Posts: 22
Re: custom database format - How to save as ANSI
« Reply #2 on: May 28, 2007, 02:14:57 PM »
I need ANSI, not ASCII  ???
Logged

Offline markun

  • Developer
  • Member
  • *
  • Posts: 462
Re: custom database format - How to save as ANSI
« Reply #3 on: May 28, 2007, 03:16:13 PM »
with "iconv" you can convert from UTF-8 to MS-ANSI.

Quote from: onocentaur on May 28, 2007, 05:48:56 AM
I've been slowly going crazy trying to make a custom database view and it hasn't been working properly at all. Then I notice that it has to be saved as ANSI without BOM!

What do you mean by a custom database view in ANSI? Is this rockbox related?
Logged

Offline onocentaur

  • Member
  • *
  • Posts: 22
Re: custom database format - How to save as ANSI
« Reply #4 on: May 28, 2007, 03:24:53 PM »
Quote from: markun on May 28, 2007, 03:16:13 PM
with "iconv" you can convert from UTF-8 to MS-ANSI.
Thanks. I'll try that.
Quote
What do you mean by a custom database view in ANSI? Is this rockbox related?
yeah, making my own database view layout with tagnavi_custom.config, see http://www.rockbox.org/twiki/bin/view/Main/DataBase.
Logged

Offline onocentaur

  • Member
  • *
  • Posts: 22
Re: custom database format - How to save as ANSI
« Reply #5 on: May 29, 2007, 08:48:17 AM »
Right:
1)saving as WINDOWS-1252 in gedit works.
2)It is VERY IMPORTANT to have spaces in %strip = "". I have spent hours working this out, and all along I thought it was the file type still.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  custom database format - How to save as ANSI
 

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

Page created in 0.077 seconds with 15 queries.