I'm using cURL to pull selected data out of web pages, until recently I've been recording the output to plain text files but now that I have a better appreciation of MySQL/SQLite I've decided to make the full switch to relational databases, just makes managing data so much easier.But I've run into a couple of issues I haven't been able to solve on my own:1) EDIT: problem solved by simply using sqlite_escape_string individually.However the other problem remains:2) The content that gets inserted into the database appears to have it's encoding messed up e.g. ? becomes a?