https://bugzilla.wikimedia.org/show_bug.cgi?id=17460
Summary: PostgreSQL access layer fails to set the client encoding
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Keywords: postgresql, utf8
Severity: enhancement
Priority: Normal
Component: Database
AssignedTo: [email protected]
ReportedBy: [email protected]
Some PostgreSQL installations use UTF8 as default encoding for the database (as
is required by MediaWiki), but the default client encoding is set to something
different. MediaWiki should always enforce UTF8 after opening the database
connection to avoid problems in this situation.
On recent PostgreSQL installations, this can easily be accomplished by applying
the following patch to mediawiki/includes/db/DatabasePostgres.php:
187a188
> $this->doQuery('SET client_encoding="UTF8"');
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l