The difference you are seeing is that your initial text is probably encoded as UTF-8 and the database as ISO-8859-1. You need to convert the DB to UTF-8 - the only way I know how is to dump the DB to a file and use
iconv
, but there may well be an easier way - I'd wait until some of the database experts chime in. ;)