MySQL Forums
Forum List  »  Newbie

Re: Special Chars
Posted by: Peter Brawley
Date: February 05, 2019 10:39AM

Try this ...

1. Create a table with the same structure as the original table except that the problem string column is CHARSET utf8mb4.

2. Copy data into the new table using this expression for the problem column:

... CONVERT( CONVERT( colname USING binary ) USING utf8mb4 ) . . .

If that fails, the data is munged, you're in for some work, see ...

http://www.bluebox.net/news/2009/07/mysql_encoding/

http://mysql.rjweb.org/doc.php/charcoll

Options: ReplyQuote


Subject
Written By
Posted
February 05, 2019 03:30AM
Re: Special Chars
February 05, 2019 10:39AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.