6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/8/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#8777] $conf['sql']['charset'] is ignored
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ __ . ..__ . [__)/ `|\/|[__)| | \\__.| || |___
Comment
> But this way data in database are utf-8 overconverted from latin1 to > utf8. So instead of "ěčřýáíéřč" there is > "žÅÄÅ¡ÄÅ¡ÄÅžýáÃ" > 1. if any other application uses this it is imposible to convert > "žÅÄÅ¡ÄÅ¡ÄÅžýáÃ" to "ěčřýáíéřč" > because there are ilegal latin1 characters. > 2. backup, restoring and moving database is made problematic > > I solved this with > > if ($dsn['charset']) { > if (!@mysql_set_charset($dsn['charset'])) { > return $this->mysqlRaiseError(); > } > } > > added to pear/DB/mysql.php connect function after database conect > > Which made PEAR function the old way > > But this in not a permanent solution. The next "pear upgrade DB" will > broke it again...
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers