summaryrefslogtreecommitdiff
path: root/tools.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-06-15 13:25:35 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2007-06-15 13:25:35 +0200
commitd1934a7cfd99abbf9502aef6e6ecd897f78aa026 (patch)
treeaf6b6e87662b5fab8265ff5b95a03614ac9f8301 /tools.c
parent1f7c70cd49046525519cc84cb118d246c71569dc (diff)
downloadvdr-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools.c b/tools.c
index 465335ae..cec2555a 100644
--- a/tools.c
+++ b/tools.c
@@ -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++)