Re: Re: multilanguage support

From: Date: Tue, 26 Feb 2002 00:47:05 +0000
Subject: Re: Re: multilanguage support
References: 1  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-239@lists.php.net to get a copy of this message
Frank M. Kromann wrote:
I Have no problem using PHP with ISO-8859-1 characters. I use a lot of Danish characters. What part of your PHP script generates that error ? Is it your database ? - Frank
Right. I use EUC-JP, UTF-8 without any problems. I guess poster's php script has something like if (!eregi("^[a-z]+$", $name)) { print_error("You entered wrong name"); }
Leonid Zilber wrote:
Hi, On our site, we have page with a form a user puts his/her information such as company name, givenname, etc. Currently, if a name entered is anything but English characters, PhP fails. For example, if I enter Norwegian characters lsløæ PhP returns the following errors: "Last name field must contain a valid last name" etc. Does anyone know how can I make my PhP code ISO-8859-1 compliant?
recode extension. I guess. -- Yasuo Ohgaki
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

« previous php.i18n (#239) next »