Closed
Bug 331583
Opened 19 years ago
Closed 19 years ago
twice utf8 encoding in MySql database
Categories
(Bugzilla :: Database, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 304550
People
(Reporter: lixan, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8) Gecko/20051107 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8) Gecko/20051107 Firefox/1.5
Data sending from bugzilla to MySql encoded to utf8 from utf8.
When Bugzilla establish connection to MySql, it open connection with character set 'latin1', even if bugzilla work in 'utf8' mode.
I am correct this bug by correcting Bugzilla\DB\mysql.pm on line 70
old:
$self->{private_bz_tables_locked} = "";
bless ($self, $class);
new:
$self->{private_bz_tables_locked} = "";
$self->do("SET NAMES utf8") if Param('utf8');
bless ($self, $class);
Reproducible: Always
Steps to Reproduce:
Windows 2003 Server with SP1.
Bugzilla 2.22rc1 on IIS 6.0
MySQL 5.0.18
ActivePerl 5.8.7 Build 518
DBI 1.49
DBD::mysql 3.0002
Comment 1•19 years ago
|
||
I'm seeing twice-encoded data, too.
This might get fixed by bug 328013 or bug 304550, perhaps...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•19 years ago
|
||
*** This bug has been marked as a duplicate of 304550 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Comment 3•19 years ago
|
||
*** Bug 331816 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•