Ticket #4219 (closed defect: fixed)

Opened 1 year ago

Last modified 3 months ago

"character_set_client" should be set to UTF-8 by default

Reported by: foolswisdom Assigned to: anonymous
Priority: normal Milestone: 2.5
Component: General Version: 2.2
Severity: normal Keywords:
Cc:

Description

System variable "character_set_client" is set to "latin1" by default, but the characters wordpress is writing into database are not in latin1, but in UTF-8. This results in that the UTF-8 characters are considers as latin1, and are converted to UTF-8 again.

Change History

05/03/07 00:54:24 changed by rob1n

  • component changed from Administration to General.

05/09/07 17:01:53 changed by ryan

2.2 sets this for new installs when it does SET NAMES. Nothing is done for existing installs, however. Setting this to whatever the user selects in blog_charset is difficult because blog_charset is stored in the DB. We have to connect to the DB to get the charset.

05/12/07 22:08:23 changed by ryan

  • version changed from 2.2 to 2.3.

05/12/07 22:23:58 changed by rob1n

  • version changed from 2.3 to 2.2.
  • milestone changed from 2.2 to 2.3.

02/20/08 17:37:57 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

DB_CHARSET can be set in wp-config.php. Calling that good enough.