Re: Help for excel - mysql - dictionary
Posted by:
Rick James
Date: December 28, 2011 12:09AM
Export the Excel data to a CSV (tab or comma-separated) file.
Determine the actual encoding of the characters. You said "unicode", but it might actually be utf8.
Set up the MySQL table(s) to be utf8.
When loading the csv file, state what encoding it is in (unicode or utf8). MySQL will convert to utf8 if necessary.
The HTML page should have the <meta> statement specifying that the page is in utf8. This implies that the SELECTs and the PHP code will not need to do much to "do the right thing" with the character encodings.
Subject
Views
Written By
Posted
2083
December 26, 2011 07:59AM
Re: Help for excel - mysql - dictionary
1158
December 28, 2011 12:09AM
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.