summaryrefslogtreecommitdiff
path: root/firmware/common/unicode.c
AgeCommit message (Collapse)Author
2012-05-19Add support for cp1252 (Western European) codepage.Dominik Riebeling
In Europe Windows defaults to its own codepage cp1252 (also known as "WinLatin" or "Windows-1252"). cp1252 adds some characters to ISO-8859-1. Some mp3 tagging software on Windows uses cp1252 instead of ISO-8859-1. This violates the ID3 specification, which requires tags to be ISO-8859-1 or Unicode. However, similar violations are made for other codepages and supported by Rockbox using the "Default Codepage" setting. Add support for cp1252 to enable people using such broken tools to override the correct decoding to get their tags displayed properly. Change-Id: I9f2ec478afe2503e99ee8e6609416c92b0f453e0 Reviewed-on: http://gerrit.rockbox.org/209 Reviewed-by: Jens Arnold <amiconn@rockbox.org> Tested-by: Jens Arnold <amiconn@rockbox.org>
2010-08-01Rockbox as an application: add get_user_file_path().Thomas Martitz
For RaaA it evaluates user paths at runtime. For everything but codecs/plugins it will give the path under $HOME/.config/rockbox.org if write access is needed or if the file/folder in question exists there (otherwise it gives /usr/local/share/rockbox). This allows for installing themes under $HOME as well as having config.cfg and other important files there while installing the application (and default themes) under /usr/local. On the DAPs it's a no-op, returing /.rockbox directly. Not converted to use get_user_file_path() are plugins themselves, because RaaA doesn't build plugins yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27656 a1c6a512-1295-4272-9138-f99709370657
2009-10-25Little bit of const correctnessNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23343 a1c6a512-1295-4272-9138-f99709370657
2008-12-15Moved database builder into a separate directory, and gave it its' own ↵Björn Stenberg
Makefile. Now it compiles cleanly and builds a database if ran in root of music tree. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19448 a1c6a512-1295-4272-9138-f99709370657
2008-12-04Cleaned up codepage handling, by Yoshihisa Uchida. (FS#9349)Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19339 a1c6a512-1295-4272-9138-f99709370657
2008-11-24Added support for configurable rockbox directory. FS#9567 by Alex Bennee.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19208 a1c6a512-1295-4272-9138-f99709370657
2007-10-02Make codepage Win-1250 actually work on charcell.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14946 a1c6a512-1295-4272-9138-f99709370657
2007-10-01FS#7712 by Przemysław Hołubowski: New codepage (CP1250 - WIN1250) addedMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14942 a1c6a512-1295-4272-9138-f99709370657
2007-04-01Ooops. Bring back the full set of codepages for bitmap targets.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12991 a1c6a512-1295-4272-9138-f99709370657
2007-04-01Player: Reduced the selectable codepages to those which can actually work, ↵Jens Arnold
and made them work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12990 a1c6a512-1295-4272-9138-f99709370657
2007-01-19Comment out an unused function and make another one static to save a few bytesNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12073 a1c6a512-1295-4272-9138-f99709370657
2006-07-25Fixed unicode buffer overflow issue (metadata parser crashed with someMiika Pekkarinen
mp3 files). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10324 a1c6a512-1295-4272-9138-f99709370657
2006-04-24Use filesize instead of lseek to find the size of a file. Reduces disk ↵Frank Dischner
access and improves font loading time. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9792 a1c6a512-1295-4272-9138-f99709370657
2006-04-05CP1251 is cyrillic, and not only russian codepageHristo Kovachev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9518 a1c6a512-1295-4272-9138-f99709370657
2006-03-10some unicode fixes by Frank DischnerMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8988 a1c6a512-1295-4272-9138-f99709370657
2005-12-07several small fixes sugested by different people (FireFly, Lear, Takka)Marcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8184 a1c6a512-1295-4272-9138-f99709370657
2005-12-06move some code from .h files to .c files and polish unicode.c a bitMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8174 a1c6a512-1295-4272-9138-f99709370657
2005-12-06waiting is over: initial unicode commitMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8169 a1c6a512-1295-4272-9138-f99709370657