|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Chinese charactersI have a list of last names that can be in different languages:
chinese, english, russian, german, etc. Different format need to be applied only for last names in chinese. For this purpose, I need to check if last name contains chinese characters. Any ideas how to do it (it should be data related check)? Thank you, Ludmila I would suggest looking at the Unicode standard and seeing which bands are
reserved for those characters. Then compare the Unicode character codes to see if they're in those bands. NB: Use ChrW$(), not Chr$(). The former returns the Unicode character code whereas the latter returns the ANSI character code Tony Proctor <lyudmi***@ungerboeck.com> wrote in message Show quoteHide quote news:1141942103.473323.80280@e56g2000cwe.googlegroups.com... > I have a list of last names that can be in different languages: > chinese, english, russian, german, etc. Different format need to be > applied only for last names in chinese. For this purpose, I need to > check if last name contains chinese characters. Any ideas how to do it > (it should be data related check)? > > Thank you, > Ludmila >
problem formatting excel in vb
VB6 writing to text files requires Close to commit Text to Speech delete tmp files Collection of Radio buttons Function VB6 File Handling Without FSO Using VB to screen scrape a 3270 mainframe Error to create a package in VB6 Close a form object variable or with block variable not set error |
|||||||||||||||||||||||