From bd322436abf99c67b2e9f174972198fed4c443c3 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Tue, 19 Aug 2008 19:53:05 +0000 Subject: [PATCH] check that umlauts are properly recognized (locale supports UTF-8 properly) --- src/eressea/server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/eressea/server.cpp b/src/eressea/server.cpp index 7e46506db..a44bfbbc1 100644 --- a/src/eressea/server.cpp +++ b/src/eressea/server.cpp @@ -579,6 +579,7 @@ main(int argc, char *argv[]) lc_ctype = setlocale(LC_CTYPE, ""); lc_numeric = setlocale(LC_NUMERIC, "C"); + assert(towlower(0xC4)==0xE4); if (lc_ctype) lc_ctype = strdup(lc_ctype); if (lc_numeric) lc_numeric = strdup(lc_numeric);