From: Giovanni Maruzzelli Date: Fri, 20 Apr 2012 07:13:01 +0000 (+0200) Subject: gsmopen: unicode charset test not just for windoz X-Git-Tag: v1.2-rc1~17^2~162 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=855e16c288a340666cf45bc971efca278c828f66;p=thirdparty%2Ffreeswitch.git gsmopen: unicode charset test not just for windoz --- diff --git a/src/mod/endpoints/mod_gsmopen/mod_gsmopen.cpp b/src/mod/endpoints/mod_gsmopen/mod_gsmopen.cpp index 8b5bc44b73..24298d51f0 100644 --- a/src/mod/endpoints/mod_gsmopen/mod_gsmopen.cpp +++ b/src/mod/endpoints/mod_gsmopen/mod_gsmopen.cpp @@ -1118,10 +1118,10 @@ static switch_status_t load_config(int reload_type) DEBUGA_GSMOPEN("Windows CODEPAGE Output =%d\n", GSMOPEN_P_LOG, GetConsoleOutputCP()); SetConsoleOutputCP(65001); DEBUGA_GSMOPEN("Windows CODEPAGE Output =%d\n", GSMOPEN_P_LOG, GetConsoleOutputCP()); - DEBUGA_GSMOPEN("Windows CODEPAGE Output Test %s\n", GSMOPEN_P_LOG, "èéòàùç°§^£"); - DEBUGA_GSMOPEN("Windows CODEPAGE Output Test %s\n", GSMOPEN_P_LOG, "Согласие» в различных регионах страны."); //let's hope to have utf8 in console now, you need to use Lucida Console charset for the command prompt to show unicode #endif// WIN32 + DEBUGA_GSMOPEN("Charset Output Test %s\n", GSMOPEN_P_LOG, "èéòàùç°§^£"); + DEBUGA_GSMOPEN("Charset Output Test %s\n", GSMOPEN_P_LOG, "Согласие в различных регионах страны."); switch_mutex_init(&globals.mutex, SWITCH_MUTEX_NESTED, gsmopen_module_pool); if (!(xml = switch_xml_open_cfg(cf, &cfg, NULL))) {