I need help on properly ENCODING the following:
1 - grab a record in MySQL with French Characters and curly braces
2 - pass it via ajax to a textarea
3 - view all foreign characters normally inside textarea
4 - edit text and send it back for update via ajax to MySQL
Can you provide a simple example on how to grab this text, edit it, and update it with proper encoding.
Je m’apelle François, J’ai “tois enfants”
Gérard et à “wow” c’est bon àâçéèêëïîôùù
This may be simple to a seasoned programmer, but it's been kicking my you know what...
I tried htmlentities() before sending to ajax but that didn't work, help.