Add support for cp1252 (Western European) codepage.
commit2d9c0bab540274e99480d965f38f266d20097976
authorDominik Riebeling <Dominik.Riebeling@gmail.com>
Fri, 6 Apr 2012 18:21:29 +0000 (6 20:21 +0200)
committerJens Arnold <amiconn@rockbox.org>
Fri, 18 May 2012 23:42:53 +0000 (19 01:42 +0200)
treee004fcdc65cd091521ca12575b82e672cc5908e3
parent4a6b875eda8fe7827b8a55e42e48184a6588ee4c
Add support for cp1252 (Western European) codepage.

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>
apps/lang/english.lang
apps/settings_list.c
firmware/common/unicode.c
firmware/include/rbunicode.h
tools/codepage_tables.c
tools/codepage_tables.h
tools/codepages.c