Page 1 of 1

How can add and retrieve special characters like “ in mysql

Posted: Mon Aug 04, 2008 1:00 am
by vcodeinfotec
Hi all,

I am trying to to insert special characters like ’ ‚ „ “ – into MySQL database. But after editing this record it shows ? on the place of these characters. How can I manage these issues..

Please help me..

Re: How can add and retrieve special characters like “ in mysql

Posted: Mon Aug 04, 2008 1:37 am
by jaoudestudios
All characters should be encode before they go into the database.

Copy and post them into here and it will show you the encoded version that you need to insert into the database.
http://www.forum.jaoudestudios.com/view ... ?f=13&t=24

The php function that you need is htmlentities.

Re: How can add and retrieve special characters like “ in mysql

Posted: Mon Aug 04, 2008 1:38 am
by jaoudestudios