dcsimg
How can I determine whether a char in a string is an ASCII, ISO 8859-1 or Unicode-only character?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Brian_Lee
Posted On:   Saturday, August 11, 2001 10:21 AM

How can I determine whether a char in a string is an ASCII, ISO 8859-1 or Unicode-only character?

Re: How can I find out if a char in a string is a ASCII character or Unicode character?

Posted By:   J_Rajendran  
Posted On:   Monday, August 13, 2001 02:55 AM

Hello,

I assume you're using Java to do that. Check each character's CodePoint. If the CodePoint is below '128', then the Character is an ASCII char and DBCS/Unicde otherwise...
About | Sitemap | Contact