Manual:$wgDBmysql5
MySQL specific: $wgDBmysql5 | |
---|---|
Set to true to set MySQL connection into UTF-8 encoding |
|
Introduced in version: | 1.5.1 (r11508) |
Removed in version: | still in use |
Allowed values: | (boolean) |
Default value: | false |
Other settings: Alphabetical | By Function
[edit] Details
Set to true to engage MySQL 4.1/5.0 charset-related features; for now will just cause sending of 'SET NAMES=utf8' on connect.
You should not generally change this value once installed -- if you create the wiki in Binary or UTF-8 schemas, keep this on! If your wiki was created with the old "backwards-compatible UTF-8" schema, it should stay off.
(See also $wgDBTableOptions which in recentish versions will include the table type and character set used when creating tables.)
May break if you're upgrading an existing wiki if set differently. Broken symptoms likely to include incorrect behavior with page titles, usernames, comments etc containing non-ASCII characters. Might also cause failures on the object cache and other things.
Language: | English • Français • 日本語 |
---|