Re: Disabling localisation for an app
- From: klaus triendl <klaus triendl eu>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Disabling localisation for an app
- Date: Thu, 16 Oct 2008 16:26:46 +0200
Søren Hauberg schrieb:
> Thanks. I didn't know the 'setlocale' function, which was the one I
> needed. I've just added a 'setlocale (LC_ALL, "C");' to my code, as I
> don't want any locale changes anywhere in the application.
Beware, c++ functionality like iostreams uses its own locale.
So you need to call additionally std::locale::global("C") to change the
c++ locale to "C" on a global scale.
Klaus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]