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 -- PHP Internationalization Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php