🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual.misc
Article #307

Re: Chinese language in Visual Basic 4.0

#307
From: Sleiman
Date: Wed, 16 Sep 1998 00:00
34 lines
2571 bytes
Thanks for the info.

Hidulf wrote:
> 
[...]
> 2. the Chinese character is sort by the ASCII code as the same as English
> character. if u convert the Chinese character into symbol, then u will able
> to see there is 2 symbol. the computer is sort the Chinese character by
> that. if you want to sort the Chinese string, just sort it as same as sort
> the English string. the computer will handle it.
> 

It seems to me that Chinese characters are sorted by the number of
strokes. So for example, the character for "big" (Da in Mandarin, Tai in
Cantonese) comes before the character for "middle" (Zhong, the first
character in the name "China") because the former has two strokes in it
and the second has three strokes. Does the double-byte set order support
this? Does the computer sorting support this?

> 3. what do you mean by the range of Chinese character? you want to control
> the Chinese character of the user entered? it may have a little bit trouble
> because the Chinese character is not same as English n you will be in
> trouble to set the range for some special character allowed.
> 

In the English version of my application, the user can specify "Give me
all names that are lexicographically bigger than 'A' and less than 'G'
". So the name Chris falls in the range, but Micro doesn't. In order to
do something like this in Chinese characters there has to be a
conventional sort order among the Chinese characters that is supported
by the computer (and the double-byte set order). Is there?

Thanks
Sleiman
Technical Details
Message-ID: <35FEE565.6F0AF7FD@hkisl.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35FE1C35.109B0EC4@hkisl.net> <T8wL1.830$gR4.218898@nsw.nnrp.telstra.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 100b6e,e81390ee001bf004
X-Google-Attributes: gid100b6e,public
X-Google-Thread: f9a59,e81390ee001bf004
X-Google-Attributes: gidf9a59,public
X-Google-Thread: 110e3b,e81390ee001bf004
X-Google-Attributes: gid110e3b,public
X-Google-Thread: 1143a7,e81390ee001bf004
X-Google-Attributes: gid1143a7,public
X-Google-Thread: f56e0,e81390ee001bf004
X-Google-Attributes: gidf56e0,public
From: Sleiman <ing-sol@hkisl.net>
Subject: Re: Chinese language in Visual Basic 4.0
Date: 1998/09/16
Message-ID: <35FEE565.6F0AF7FD@hkisl.net>
X-Deja-AN: 391498545
Content-Transfer-Encoding: 7bit
References: <35FE1C35.109B0EC4@hkisl.net> <T8wL1.830$gR4.218898@nsw.nnrp.telstra.net>
To: Hidulf <hidulf@hongkong.com>
Content-Type: text/plain; charset=us-ascii
Organization: AT&T EasyLink Services Asia-Pacific
Mime-Version: 1.0
Newsgroups: comp.lang.basic.visual.misc,alt.chinese.computing,chinese.comp.software,hk.comp.chinese,comp.lang.basic.visual.database