mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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>
This commit is contained in:
parent
4a6b875eda
commit
2d9c0bab54
7 changed files with 52 additions and 12 deletions
|
@ -22,6 +22,7 @@
|
|||
extern const unsigned short iso8859_7_to_uni[];
|
||||
extern const unsigned short cp1250_to_uni[];
|
||||
extern const unsigned short cp1251_to_uni[];
|
||||
extern const unsigned short cp1252_to_uni[];
|
||||
extern const unsigned short cp1256_to_uni[];
|
||||
extern const unsigned short iso8859_2_to_uni[];
|
||||
extern const unsigned short cp932_table[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue