I'm going around in circles now. When I enter the text string containing curly quotes via a Wordpress blog, it's saved and the viewing of the text (using Wordpress) is as per initial input - correctly showing the curly quotes. When checking the MySql database, for that particular field, the text has changed to show weird characters in place of the curly quotes. So obviously Wordpress is doing something in order to correctly display the text.
Now my program, for all intents and purposes is merely copying that particular field and inserting it into another MySql database.
I've noticed that the Wordpress MySql database, for the particular table and field is marked as "Latin1_sweedish_ci". My target database (Drupal MySql) is "utf8_general_ci".
I am retrieving the particular field like so:-
Code:
strBody= rstSource.Field("post_content").StringValue
So the variable "strBody" now contains the contents of the source field, which contains the altered characters (characters in place of curly quotes).
I've tried various attempts at using 'Encodings' but nothing seems to work. Can someone simply list the steps required.
Any advice greatly appreciated.
My Realbasic Program