6.0.0-alpha10
5/17/25

[#6142] Wrong charset for bookmarks
Summary Wrong charset for bookmarks
Queue Trean
Type Bug
State Resolved
Priority 1. Low
Owners Horde Developers (at)
Requester hordelist (at) quantentunnel (dot) de
Created 01/24/2008 (6323 days ago)
Due
Updated 01/29/2008 (6318 days ago)
Assigned 01/24/2008 (6323 days ago)
Resolved 01/25/2008 (6322 days ago)
Milestone
Patch No

History
01/29/2008 06:34:33 PM Chuck Hagenbuch Comment #5 Reply to this comment
Should be fixed now.
01/29/2008 03:54:22 PM tinu (at) humbapa (dot) ch Comment #4
New Attachment: Bookmarks.php.patch Download
Reply to this comment
I now get the following error when clicking on a bookmark:



Fatal error:  Cannot use object of type Trean_Bookmark as array in 
...horde/trean/lib/Bookmarks.php on line 972



my small patch tries to solve this.

thanks!
01/25/2008 09:51:33 AM Jan Schneider State ⇒ Resolved
 
01/25/2008 07:48:34 AM hordelist (at) quantentunnel (dot) de Comment #3 Reply to this comment
Yes, the patch is working.
01/24/2008 09:58:12 PM Michael Rubinsky Comment #2
State ⇒ Feedback
Reply to this comment
Can you see if what I commited to CVS fixes this for you?



http://cvs.horde.org/diff.php/trean/lib/Bookmarks.php?r1=1.93&r2=1.94&ty=u
01/24/2008 07:21:23 PM Chuck Hagenbuch Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
 
01/24/2008 07:50:36 AM hordelist (at) quantentunnel (dot) de Comment #1
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Queue ⇒ Trean
Summary ⇒ Wrong charset for bookmarks
Type ⇒ Bug
Reply to this comment
I was using updating from old trean 0.1-cvs to a trean snapshot from 
07.01.2008 ( 1.0-cvs).



I moved the bookmarks out of the datatree with the provided script 
(2006-12-29_sql_bookmarks.php). Now all vowels (ä,ü,ö etc.) in the 
bookmark title and descripton are broken, they show up as symbol for 
unknow character in seamonkey. Switching the webbrowser charset from 
UTF-8 to ISO-8859-15 solves the problem. Vowels in foldernames are 
always ok.



Watching the table trean_bookmarks with phpMyAdmin, shows all 
bookmarks with the right charset, so moving them out of the datatree 
wasn't the problem.



When editing /creating a bookmark, vowels are stored with the wrong 
charset, as they show up as wired character in phpMyAdmin.



Guess from chuck on the Mailinglist:

"looks like the convertCharset calls are missing from the SQL driver."

Saved Queries