[#6142] Wrong charset for bookmarks
Summary Wrong charset for bookmarks
Queue Trean
Type Bug
State Resolved
Priority 1. Low
Owners Horde Developers
Requester hordelist (at) quantentunnel (dot) de
Created 01/24/08 (784 days ago)
Due
Updated 01/29/08 (779 days ago)
Assigned 01/24/08 (784 days ago)
Resolved 01/25/08 (783 days ago)
Attachments Bookmarks.php.patch Download
Milestone
Patch No

History
01/29/08 Chuck Hagenbuch Comment #5 Reply to this comment
Should be fixed now.
01/29/08 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/08 Jan Schneider State ⇒ Resolved
 
01/25/08 hordelist (at) quantentunnel (dot) de Comment #3 Reply to this comment
Yes, the patch is working.
01/24/08 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/08 Chuck Hagenbuch Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
 
01/24/08 hordelist (at) quantentunnel (dot) de Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Wrong charset for bookmarks
Queue ⇒ Trean
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."