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] About Guest Book\'s messages....

2003-05-29 Thread Lew Mark-Andrews
>I used wordwrap($word,40,"\n",1) to prevent it, >but my system is BIG5 ,two bytes, >Sometimes this method would destroy the structure >of the two-bytes word. Hi, Have you looked into the multi-byte string functions in the manual? Search on php.net for mb_str . Also, have you tried just forcing