MySQL Forums
Forum List  »  Newbie

Re: How to use special characters in strings?
Posted by: Peter Brawley
Date: July 27, 2015 04:30PM

> I've tried creating my tables using "CHARSET=utf8"

Again, emoticons need utf8mb4----that's really utf-8, unfortunately utf8 in MySQL is not full-on utf-8,

And I'd make sure all char* settings are utf8mb4, also the database, the table and the column.

And in PHP after connecting ...

mysqli_set_charset( $conn, 'utf8mb4' );

And of course the web page running the script needs ...

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">



Edited 1 time(s). Last edit at 07/27/2015 05:02PM by Peter Brawley.

Options: ReplyQuote


Subject
Written By
Posted
Re: How to use special characters in strings?
July 27, 2015 04:30PM


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.