Re: ctype extension mb safe?

"Ezra Gilbert" <[email protected]>
Newsgroups gmane.comp.php.internationalization
Message-ID <[email protected]>
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" <[email protected]> wrote in message
news:[email protected]...
> 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.
>

-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.