Re: ctype extension mb safe?

From: Date: Wed, 25 Aug 2004 20:36:47 +0000
Subject: Re: ctype extension mb safe?
References: 1 2 3  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-753@lists.php.net to get a copy of this message
I read the group and did not see this message ever get answered. How do you determine a unicode character's class? For instance, in Japanese, how do you know if a character is alphabetic, numeric, or punctuation? Thanks, Ezra "Jan Schneider" <jan@horde.org> wrote in message news:20030111144806.93452.qmail@pb1.pair.com... > Moriyoshi Koizumi wrote: > > On Thu, Jan 09, 2003 at 06:20:32PM +0100, Jan Schneider wrote: > > > >>The subject says all. Is it? > > > > > > I have to say no. It's too libc dependent, and most libc including > > msvcrt doesn't handle them correctly. > > OK, I can write some of these test in PHP. But is there any way to get > the unicode class information (like if it's a letter character) for > multibyte strings/characters? > > Jan. >

« previous php.i18n (#753) next »