Re: [PHP] Japanese character validation

2003-11-08 Thread Eugene Lee
On Sat, Nov 08, 2003 at 11:20:27PM +0900, - Edwin - wrote: : : On 2003.11.8, at 20:32 Asia/Tokyo, Eugene Lee wrote: : : >On Sat, Nov 08, 2003 at 06:26:39PM +0900, - Edwin - wrote: : >: : >: Well, I'm sure there's a very good reason why the dictionary : >: I quoted called it "simplified kanji". :

Re: [PHP] Japanese character validation

2003-11-08 Thread - Edwin -
On 2003.11.8, at 21:51 Asia/Tokyo, Dave G wrote: In hopes of bringing the kanji character validation issue back on topic, can I point out that it doesn't matter *why* someone would want to do this, or what the origins of kanji and kana are? The motivations of the original poster shouldn't

Re: [PHP] Japanese character validation

2003-11-08 Thread - Edwin -
On 2003.11.8, at 20:32 Asia/Tokyo, Eugene Lee wrote: On Sat, Nov 08, 2003 at 06:26:39PM +0900, - Edwin - wrote: : : On Fri, 7 Nov 2003 13:43:06 -0600 Eugene wrote: : > : > Actually, kana are not "simplified kanji" because it is not : > the case that kana can replace kanji while preserving the : >

RE: [PHP] Japanese character validation

2003-11-08 Thread Dave G
In hopes of bringing the kanji character validation issue back on topic, can I point out that it doesn't matter *why* someone would want to do this, or what the origins of kanji and kana are? The motivations of the original poster shouldn't be in question. Everyone has their own situations

Re: [PHP] Japanese character validation

2003-11-08 Thread Eugene Lee
On Sat, Nov 08, 2003 at 06:26:39PM +0900, - Edwin - wrote: : : On Fri, 7 Nov 2003 13:43:06 -0600 Eugene wrote: : > : > Actually, kana are not "simplified kanji" because it is not : > the case that kana can replace kanji while preserving the : > exact same meaning. In fact, most kana by themselves

Re: [PHP] Japanese character validation

2003-11-08 Thread - Edwin -
On Fri, 7 Nov 2003 13:36:35 -0600 Eugene Lee <[EMAIL PROTECTED]> wrote: > On Sat, Nov 08, 2003 at 02:20:00AM +0900, - Edwin - wrote: > : > : Besides, there are some issues (for example with > Shift_JIS) that: "bothers" (with no easy "solution") even > members of the Japanese PHP: Group ML. (Like

Re: [PHP] Japanese character validation

2003-11-08 Thread - Edwin -
I know this is becoming off-t but just for the curious... On Fri, 7 Nov 2003 13:43:06 -0600 Eugene Lee <[EMAIL PROTECTED]> wrote: > On Sat, Nov 08, 2003 at 01:35:40AM +0900, - Edwin - wrote: > : > : On 2003.11.7, at 18:37 Asia/Tokyo, Marek Kilimajer wrote: > : > : ...[snip]... > : > : >Are Kan

Re: [PHP] Japanese character validation

2003-11-07 Thread Eugene Lee
On Sat, Nov 08, 2003 at 01:35:40AM +0900, - Edwin - wrote: : : On 2003.11.7, at 18:37 Asia/Tokyo, Marek Kilimajer wrote: : : ...[snip]... : : >Are Kanji and Kana chracter sets? : : "Kan" -> Chinese + "ji" -> character : : kana: (quoted from the American Heritage Dictionary) : "1. Japa

Re: [PHP] Japanese character validation

2003-11-07 Thread Eugene Lee
On Sat, Nov 08, 2003 at 02:20:00AM +0900, - Edwin - wrote: : : Besides, there are some issues (for example with Shift_JIS) that : "bothers" (with no easy "solution") even members of the Japanese PHP : Group ML. (Like the recent thread [PHP-users 18803] on : http://www.php.gr.jp/ or : http://ns1.p

Re: [PHP] Japanese character validation

2003-11-07 Thread - Edwin -
Hi, On 2003.11.8, at 00:42 Asia/Tokyo, Lew Mark-Andrews wrote: Howdy, 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

Re: [PHP] Japanese character validation

2003-11-07 Thread - Edwin -
On 2003.11.7, at 18:37 Asia/Tokyo, Marek Kilimajer wrote: ...[snip]... Are Kanji and Kana chracter sets? "Kan" -> Chinese + "ji" -> character kana: (quoted from the American Heritage Dictionary) "1. Japanese syllabic writing. The characters are simplified kanji and are usually used

Re: [PHP] Japanese character validation

2003-11-07 Thread - Edwin -
Hi, On 2003.11.7, at 18:20 Asia/Tokyo, umesh wrote: ...[snip]... > 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. Let's say you can do that

Re: [PHP] Japanese character validation

2003-11-07 Thread Lew Mark-Andrews
Howdy, >> 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. It's actua

RE: [PHP] Japanese character validation

2003-11-07 Thread umesh
No, Kanji & Kana are not charsets. The form is having charset EUC-JP. Umesh. -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2003 3:08 PM To: umesh Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Japanese character validation umesh wrote:

Re: [PHP] Japanese character validation

2003-11-07 Thread Marek Kilimajer
umesh wrote: 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. Are Kanji and Kana chracter sets? Form cannot use more charsets. Charset that your script receives will be the same

RE: [PHP] Japanese character validation

2003-11-07 Thread umesh
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: >

Re: [PHP] Japanese character validation

2003-11-07 Thread - Edwin -
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 th

[PHP] Japanese character validation

2003-11-07 Thread umesh
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. I have enabled multibyte support