diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2008-03-01 12:06:27 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2008-03-01 12:06:27 +0100 |
commit | 4b4ef2df60dc01515062f7944c0170fa753283f0 (patch) | |
tree | 2ee1a454326d92da164200eac0bb85e89ac758dd /libsi | |
parent | 3bd7f7a0e02ad805c161ac616bc2adcdb429350b (diff) | |
download | vdr-4b4ef2df60dc01515062f7944c0170fa753283f0.tar.gz vdr-4b4ef2df60dc01515062f7944c0170fa753283f0.tar.bz2 |
Changed the default character set for SI data from ISO6937 to ISO-8859-9
Diffstat (limited to 'libsi')
-rw-r--r-- | libsi/si.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -6,7 +6,7 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * - * $Id: si.c 1.23 2008/02/26 16:25:14 kls Exp $ + * $Id: si.c 1.24 2008/03/01 12:02:01 kls Exp $ * * ***************************************************************************/ @@ -340,6 +340,9 @@ bool SetSystemCharacterTable(const char *CharacterTable) { // and length are adjusted accordingly. static const char *getCharacterTable(const unsigned char *&buffer, int &length, bool *isSingleByte = NULL) { const char *cs = "ISO6937"; + cs = "ISO-8859-9"; // Workaround for broadcaster stupidity: according to + // "ETSI EN 300 468" the default character set is ISO6937. But unfortunately some + // broadcasters actually use ISO-8859-9, but fail to correctly announce that. if (isSingleByte) *isSingleByte = false; if (length <= 0) |