Anoop Anoop - 9 months ago 44
PHP Question

– like symbols when using text editor

When I used text editors to insert text into database, symbols like

- , '
etc get converted to
like symbols. How can I avoid these symbols?

Answer Source

Set names to UTF8 before inserting into your database.


It sounds like your connection is using latin1 encoding. I struggled with the same thing for months.,46870,47245