|
-
September 17th, 2008, 07:11 AM
#1
Unicode
I try to compare 2 Chinese phrases and the function always returns false. I am confused.
-
September 17th, 2008, 07:18 AM
#2
Re: Unicode
O man, it sucks when that happens... I know how you feel.
-
September 17th, 2008, 08:04 AM
#3
Re: Unicode
The first article in my signature will definitely help you with this.
gg
-
September 17th, 2008, 10:00 AM
#4
Re: Unicode
If you are comparing two phrases, isn't false always the correct result?
-
September 17th, 2008, 10:15 AM
#5
Re: Unicode
Make sure the phrases really are identical, I suppose.
And you may need to do normalization (eg, make sure you aren't using a variant of the same character with a different unicode value). ICU contains a method to do this.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|