Hi Edwin, ----Original Message----- From: - Edwin - [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2003 2:02 PM To: umesh Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Japanese character validation
Hi, On Fri, 7 Nov 2003 12:58:51 +0530 "umesh" <[EMAIL PROTECTED]> wrote: > Hi Gurus, > > I am new to PHP. I am using PHP4 on Linux. > > I have accept input from the user and check if the input is > japanese character only, > for example : If name is accepted , I need to check if its > any of the Hiragana, Katakana or Kanji. Hmm... why would you like to do that? I've never really seen the need for that. As there are fields called Last & First Name (Kanji) and Last & First name (Kana) on my forms. Its the need of the application. It would be great, If I could do that. I'm sure there will be a lot of issues if you want to write one yourself... Actually, I have tried to do it, but it wont understand some characters. Like â. > I have enabled multibyte support while compiling PHP. > > As there is jcode.pl in perl, I want to know if there is > something in PHP. Can anybody help me in this regard. That's a library for character code conversion. PHP can do that as well: http://www.php.net/mbstring - E - __________________________________________________ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/