Re: Placing html entities into database?

From: Date: Tue, 08 Feb 2005 09:54:33 +0000
Subject: Re: Placing html entities into database?
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-38513@lists.php.net to get a copy of this message
Viacheslav Kaloshin wrote:
2 possible solutions: 1 - use latest versions (4.1) of mysql and UTF-8 encoding.
I am using 4.0.18 and the data look korrekt when retriefed out of the database. I did not enable any kind of encodeing. Is there a downfall in how I am doing it, which I just now do not notice? Regards, Merlin
2(bad) - before storing encode all string to base64 or something like this :-) On Tue, 08 Feb 2005 10:29:20 +0100, Merlin <news.groups@web.de> wrote:
Hi there, I am wondering how to store special characters like the german ö for example into a mysql db. Should the characters somehow be transforemd into html entities like &ouml;? What are the benefits if it works without them as well? Thank you for any hint, Merlin -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.db (#38513) next »