Jump to content

unicode to database changes after form submit


r4shyd

Recommended Posts

sorry,, what do you mean everything

 

html page

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

 

database

# Column Type Collation Attributes                       Null         Default

2 lname varchar(100) utf8_unicode_ci No         None   Change   Drop

 

 

 

 

thnks for the reply

MySQL also has a client charset that in cases like this, often does not default to UTF-8.  For this reason many people build a call into their database class to set the client charset explicitly.  Many people do this by issuing this query just after they connect to the database:

 

SET NAMES UTF8

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.