|
ms
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 <lyudmi***@ungerboeck.com> wrote:
> I have a list of last names that can be in different languages: Identify the range of Chinese characters (using the code charts at > 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)? http://www.unicode.org) and look through each character in the last name (eg using String.Split or a regex to get the last name) and see whether or not it's Chinese. -- Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet If replying to the group, please do not mail me too
Other interesting topics
How the devil do I get screen resolutions??!!?
32-bit signed int to 16-bit unsigned int Size Weird issues with DataGrid picture compare Enterprise Library Application Blocks question... Help Passing TreeView to another form and then back Editable DataGrid with DropDownList Question Blogging sites Edit Table |
|||||||||||||||||||||||