Re: Converting characters

From: Date: Thu, 18 May 2006 06:47:06 +0000
Subject: Re: Converting characters
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-236378@lists.php.net to get a copy of this message
2006/5/17, Jonas Rosling <webmaster@gamearena.se>:
Hi, the PHP newbie is here again asking questions. Is there anyway in PHP to convert none international characters so the are displayed correct? In my case I have lots of data in the database with å,ä and ö. Thanks // Jonas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
If your db uses a character encode that doesn't support all the characters in the character set of the string you want to store, this characters will be lost when converting from one set to another, and there will be no way to convert them back. The proper solution is to set the correct character set in your db.

« previous php.general (#236378) next »