aspose file tools
The moose likes Java in General and the fly likes How to find number of chinese characters? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "How to find number of chinese characters?" Watch "How to find number of chinese characters?" New topic
Author

How to find number of chinese characters?

S. Ganapathy
Ranch Hand

Joined: Mar 26, 2003
Posts: 194
Hi All,
I am facing some problem in internationalizing chinese characters.

Both are displaying same output. That means number of bytes and number of characters are same. But each chinese character occupies 2 bytes, so number of characters should be half of number of bytes if all the characters added are chinese only.
Thanks in advance for the reply.
Regards,
Ganapathy, S.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to find number of chinese characters?
 
Similar Threads
program errors(switch statement)
Bytes displaying for chinese characters
Generate random strings
POSTing from applet to servlet
Letter counter program. having trouble understanding it.