6.0.0-git
2019-03-23

[#541] whups's records seems stored as utf format to storage backend
Summary whups's records seems stored as utf format to storage backend
Queue Whups
Type Bug
State Resolved
Priority 2. Medium
Owners Horde Developers (at)
Requester david (at) tmv (dot) gov (dot) tw
Created 2004-09-03 (5314 days ago)
Due
Updated 2004-09-24 (5293 days ago)
Assigned 2004-09-03 (5314 days ago)
Resolved 2004-09-24 (5293 days ago)
Milestone
Patch No

History
2004-09-24 18:10:58 Chuck Hagenbuch Comment #4
State ⇒ Resolved
Reply to this comment
Patch cleaned up and applied to CVS, thanks.
2004-09-23 18:00:43 joho (at) webbplatsen (dot) se Comment #3 Reply to this comment
The problem with incorrect character sets being used/stored/displayed 
is still present in HEAD20040923.



If I use the mail filter to inject received mail into a queue, and 
have Swedish national characters in the subject, they are *stored* 
properly, but displayed incorrectly in Whups. If the body of the same 
message contains these Swedish national characters, they are *stored* 
incorrectly (and displayed incorrectly).



If I enter a ticket inside of Whups, using the same Swedish national 
characters, the ticket is displayed properly, but stored as what 
appears to be UTF-8.



I can repeat this as many times as I want, and it happens regardless 
of the mail client used when sending the message that is injected into 
the queue, and regardless of the browser I use when entering the 
ticket inside of Whups.



Needless to say, it makes Whups slightly impossible to test in a real 
environment where these characters are used frequently ;)
2004-09-09 07:28:14 david (at) tmv (dot) gov (dot) tw Comment #2
New Attachment: sql.php.patch Download
Reply to this comment
I just modified whups/lib/Driver/sql.php and worked fine.

Patch was attached.


2004-09-03 01:56:18 Chuck Hagenbuch State ⇒ Assigned
Assigned to Horde DevelopersHorde Developers
 
2004-09-03 01:22:25 david (at) tmv (dot) gov (dot) tw Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Summary ⇒ whups's records seems stored as utf format to storage backend
Queue ⇒ Whups
Reply to this comment
Alough $conf['sql']['charset'] = 'Big-5' was specify in 
horde/config/conf.php,but all whups's records seems stored as utf 
format to sql backend.



David Chang


Saved Queries