Article View: borland.public.cppbuilder.internationalization
Article #298Problems with locales in BCB
From: Darko Miletic
Date: Thu, 16 Dec 2004 15:57
Date: Thu, 16 Dec 2004 15:57
11 lines
1499 bytes
1499 bytes
Hi, Recently I started to poke around with locale support in BCB since it is required by the project I'm currently developing. The project is in C++ and heavily uses RW STL. I use BCB 6 SP4 and latest linker update. RW is a must in this case since STLport does not support unicode correctly. Here is the problem: For internationalization I use std::locale, facets and other thing. In RW STL std::locale uses underlying C implementation of setlocale, strftime. So when I try to create locale like this:
Technical Details
Message-ID:
<41c1b084@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10297d,e7997e4f22472d2e,start X-Google-Attributes: gid10297d,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 16 Dec 2004 12:57:44 -0300 From: Darko Miletic <kiklop@fibertel.com.ar> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internationalization Subject: Problems with locales in BCB Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 201.252.35.114 Message-ID: <41c1b084@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1103212676 201.252.35.114 (16 Dec 2004 07:57:56 -0800) Lines: 11 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail