Jump to content

[SOLVED] French Collation PHP import into MySQL


dennismonsewicz

Recommended Posts

What is the best collation to use when importing french translation into mysql 5.0+? I have tried everything I know and have researched and nothing is working... certain characters are being stripped or not showing up as they should

You need to ensure the encoding type of the page is correct. You can set this using HTML headers or using the header function. You may also need to set the character set for the mysql connection by using...

 

mysql_query( "SET NAMES utf8");
mysql_query( "SET CHARACTER SET utf8");

 

...after connecting to the database.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.