Re: Japanese character validation
| From: | - Edwin - | Date: | Fri, 07 Nov 2003 08:32:17 +0000 |
| Subject: | Re: Japanese character validation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168804@lists.php.net to get a copy of this message | ||
Hi,
On Fri, 7 Nov 2003 12:58:51 +0530
"umesh" <umesh.deshmukh@manas-solutions.com> 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.
I'm sure there will be a lot of issues if you want to write
one yourself...
> 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/