By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,418 Members | 1,104 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,418 IT Pros & Developers. It's quick & easy.

Locale table for Windows

P: n/a
Hi all
Im from Denmark and we have a few charcters in our alphabet that are
not standard ASCII (). I want to be able to print these
characters to the console, but for that i need to imbue cout with a
new locale. Currently I am unable to find a list of valid locale
strings.
The example in documentation is this: locale::global(locale("Fr_CH"));
I found some C documentation that had : setlocale(LC_ALL,
"da_DK.iso88591"); But I dont think the C and C++ locals are
compatible.
I use Borland Builder 5.0 build in c/c++ compiler on a windows 2000
platform.
/Klaus
Jul 22 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"Klaus Gr?nb?k" <kl********@hotmail.com> wrote in message
news:ef************************@posting.google.com ...
Hi all
Im from Denmark and we have a few charcters in our alphabet that are
not standard ASCII (). I want to be able to print these
characters to the console, but for that i need to imbue cout with a
new locale. Currently I am unable to find a list of valid locale
strings.
The example in documentation is this: locale::global(locale("Fr_CH"));
I found some C documentation that had : setlocale(LC_ALL,
"da_DK.iso88591"); But I dont think the C and C++ locals are
compatible.
I use Borland Builder 5.0 build in c/c++ compiler on a windows 2000
platform.
/Klaus


The specific string(s) used to specify a locale are implementation
dependent. Consult your OS and/or implementation documentation.

-Mike
Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.