🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internationalization
Article #716

Re: Edit Box

#716
From: KC
Date: Fri, 31 Jan 2003 08:45
69 lines
3063 bytes
hi,

The way I looked at it, it seems that I need to modify TEDIT to make it
support chinese characters. Current TEdit doesn't help to render chinese
string.

Regards,
KC

"Yogesh Ketkar" <yogi@pspl.co.in> wrote in message
news:3E3A00EE.4090102@pspl.co.in...
> Hi,
> That's not weird, applications like Notepad, Word etc.
> do special handling for this.
> Basically Windows need "unicode character string" ( or UCS2
> to be more precise) to render text in chinese, when you type
> in normal edit box irrespective of your locale settings,
> it tries to render text using AnsiString or single byte string.
> So unless you do something special(may be derive a class from TEdit)
> you are not going to get what you want.
> Actually even i am looking for a straigtforward way by which
> say chinese string can be rendered in TButton, TLabel, TEdit etc.
>
> regards,
> yogesh
>
>
> KC wrote:
> > Hi,
> >
> > Yes I did. I also changed the font that supports chinese characters. The
> > weird thing is that I am able to enter chinese character with notepad.
But I
> > can't with Builder editor.
> >
> > Regards,
> > KC
> >
> > "Ciprian" <Ciprian.Lupu@fmc-romania.ro> wrote in message
> > news:3e38fc1c$1@newsgroups.borland.com...
> >
> >>"KC" <pine73@icqmail.com> wrote in message
> >>news:3e38e687@newsgroups.borland.com...
> >>
> >>>I am doing application localization from English to Chinese. I am using
> >>>Windows 2000 and C++ Builder 6.0. I changed the locale to Chinese
> >>
> > (Taiwan)
> >
> >>>and run the application. I tried to enter a chinese characters into an
> >>
> >>edit
> >>
> >>>box but I got "rubish". What needed to be done here ?
> >>>
> >>>Thanks.
> >>>
> >>>
> >>
> >>Did You put Regional Settings AND Imput Locales on Chinese (Taiwan)?
> >>
> >>Ciprian
> >>
> >>
> >>
> >
> >
> >
>
Technical Details
Message-ID: <3e3a37be@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!telocity-west!DIRECTV!news-out.spamkiller.net!propagator2-maxim!news-in.spamkiller.net!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3e38e687@newsgroups.borland.com> <3e38fc1c$1@newsgroups.borland.com> <3e39fc29@newsgroups.borland.com> <3E3A00EE.4090102@pspl.co.in>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10297d,8160627fcd9505d8
X-Google-Attributes: gid10297d,public
X-Google-ArrivalTime: 2003-01-31 00:59:26 PST
From: "KC" <pine73@icqmail.com>
Newsgroups: borland.public.cppbuilder.internationalization
References: <3e38e687@newsgroups.borland.com> <3e38fc1c$1@newsgroups.borland.com> <3e39fc29@newsgroups.borland.com> <3E3A00EE.4090102@pspl.co.in>
Subject: Re: Edit Box
Date: Fri, 31 Jan 2003 16:45:15 +0800
Lines: 71
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 219.93.111.63
Message-ID: <3e3a37be@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1044002750 219.93.111.63 (31 Jan 2003 00:45:50 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!telocity-west!DIRECTV!news-out.spamkiller.net!propagator2-maxim!news-in.spamkiller.net!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail