6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/10/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#7805] Charset trouble when saving page names in db backend
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ .__..__ .___ |__|[__)| |[__)[__ | || |__|[__)[___
Comment
> The trouble is $page variable in Wikilink.php returns the page name > just fine: 'Tributário', but the $list array, which is pulled from > $this->getConf('pages') returns the page name as 'Tribut�rio', > thus making the test "$exists = in_array($page, $list)" fail (line 76 > of Wikilink.php). > > > > The page_name, after the patch provided in this bug report, is saving > correctly in the db (like 'Tributário'). The table's default charset > is latin1. > > > > Asking on #php, I was told I should change de charset of the table's > fields to UTF-8. > > > > I'm confused, because fields on my turba_objects table, for example, > are also latin1 and I never had trouble concerning arbitrary > characters on them. And, on the other hand, phpMyAdmin are capable of > displaying the page_names on wicked_pages table just fine, what makes > me guess this is something that can be handled on the fly, through > php, without any db fields attributes changing. > > > > If that's the case, is this a task for wicked or for Text_Wiki? Or > should I really change the db field charset? > >
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