Article View: borland.public.cppbuilder.nativeapi
Article #2131Re: Storing UNICODE in mixed string resource
From: Mike Collins
Date: Tue, 10 Apr 2007 16:59
Date: Tue, 10 Apr 2007 16:59
20 lines
1890 bytes
1890 bytes
Thanks bob, thats pretty much as i though i.e. us the W api calls. But how do i store the captions in resource file. At the minute, if i paste a UNICODE caption into my resource stringtable i get a compile error. Do i need to conver the UNICODE values into escape values first and then paste them into the resource. I believe i have a linux utility that will do this for me... "Bob Gonder" <notbg@notmindspring.invalid> wrote in message news:ns8n13toikgnmrtth262dtekr5qfj8daoo@4ax.com... > Mike Collins wrote: > >> So far, we have got all of the roman-based ANSI versions and >> copied there captions into a resource file. >>The problem that I'm having now is dealing with platforms that use >>non-roman, Unicode strings i.e. Hebrew and Russian. > > How about +always+ using Wide chars? > Then you just have to have all your caption resources as wide strings. >
Technical Details
Message-ID:
<461baeaf@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<461b4e2f@newsgroups.borland.com> <ns8n13toikgnmrtth262dtekr5qfj8daoo@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4f9f4ee974b60660 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Mike Collins" <its@TheBottomOfThePost> Newsgroups: borland.public.cppbuilder.nativeapi References: <461b4e2f@newsgroups.borland.com> <ns8n13toikgnmrtth262dtekr5qfj8daoo@4ax.com> Subject: Re: Storing UNICODE in mixed string resource Date: Tue, 10 Apr 2007 16:59:44 -0000 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.3790.3959 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3959 NNTP-Posting-Host: 89.242.71.42 Message-ID: <461baeaf@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1176219311 89.242.71.42 (10 Apr 2007 08:35:11 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail