diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2007-06-15 13:25:35 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2007-06-15 13:25:35 +0200 |
commit | d1934a7cfd99abbf9502aef6e6ecd897f78aa026 (patch) | |
tree | af6b6e87662b5fab8265ff5b95a03614ac9f8301 /tools.c | |
parent | 1f7c70cd49046525519cc84cb118d246c71569dc (diff) | |
download | vdr-d1934a7cfd99abbf9502aef6e6ecd897f78aa026.tar.gz vdr-d1934a7cfd99abbf9502aef6e6ecd897f78aa026.tar.bz2 |
Using nl_langinfo(CODESET) to determine the local codeset to use; libsi uses canonical codeset names
Diffstat (limited to 'tools.c')
-rw-r--r-- | tools.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: tools.c 1.125 2007/06/15 12:46:38 kls Exp $ + * $Id: tools.c 1.126 2007/06/15 13:11:12 kls Exp $ */ #include "tools.h" @@ -732,7 +732,7 @@ void cCharSetConv::SetSystemCharacterTable(const char *CharacterTable) { free(systemCharacterTable); systemCharacterTable = NULL; - if (!strcasestr(CharacterTable, "UTF")) { + if (!strcasestr(CharacterTable, "UTF-8")) { // Set up a map for the character values 128...255: char buf[129]; for (int i = 0; i < 128; i++) |