6.0.0-alpha12
6/12/25

[#7209] Special Characters in Category Labels / Charset issue
Summary Special Characters in Category Labels / Charset issue
Queue Kronolith
Queue Version 2.2
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester bowser (at) fstph (dot) at
Created 08/16/2008 (6144 days ago)
Due
Updated 08/17/2008 (6143 days ago)
Assigned 08/17/2008 (6143 days ago)
Resolved 08/17/2008 (6143 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/17/2008 04:00:33 PM bowser (at) fstph (dot) at Comment #5 Reply to this comment
There is no charset assumed for configuration files, so you have to
save them in the charset that most users are supposed to use, i.e.
UTF-8.
As I already said, everythning is UTF-8 on my system. I just checked 
that again, so there is no error in that. Even if this is not a bug, 
there has to be a small problem somewhere. All other categories are 
matched correctely except the ones with special characters. I even 
created some categories for testing containig characters like /,&.... 
which are also not matched correctely.

Maybe this is wanted, I don't know, I just wanted to tell you so you 
can react to it.
08/17/2008 01:00:43 PM Jan Schneider Comment #4
State ⇒ Not A Bug
Reply to this comment
There is no charset assumed for configuration files, so you have to 
save them in the charset that most users are supposed to use, i.e. 
UTF-8.
08/17/2008 09:26:13 AM bowser (at) fstph (dot) at Comment #3 Reply to this comment
Can you please attach the relevant bits of prefs.php?
I think that would be these ones here:



// categories

$_prefs['categories'] = array(

     'value' => 
'SpieleVideoFestl|Politik|Freizeit|Prüfungen|Physik/Vorträge|Studienrelevantes',

     'locked' => false,

     'shared' => true,

     'type' => 'implicit'

);



// category colors

$_prefs['category_colors'] = array(

     'value' => 
'SpieleVideoFestl:#147bff|Politik:#ff56ca|Freizeit:#d1ff2d|Prüfungen:#661a00|Physik/Vorträge:#f8ff28|Studienrelevantes:#fe9900',

     'locked' => false,

     'shared' => true,

     'type' => 'implicit'

);



// UI for category management.

$_prefs['categorymanagement'] = array(

     'type' => 'special'

);



Thats the only thing I changed manually.
08/17/2008 05:22:54 AM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
Can you please attach the relevant bits of prefs.php?
08/16/2008 10:52:05 PM bowser (at) fstph (dot) at Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Special Characters in Category Labels / Charset issue
Queue ⇒ Kronolith
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Hello, I got a litte problem which seems to be a charset issue.

I got some "global" Category Labels defined in config/prefs.php and my

users got the same Labels defined so they can use them. This way I have

coloured labels for my shared calendar that can be viewed by guests.

Now while these Labels work for my users (stored in MySQL Database with

charset UTF-8) the guest user does not see the colours with labels that

got special characters (ö,ü,ä...) in them.

Everything on my System is UTF-8. So it seems somewhere a conversion is

done that is not wanted.



You can see an example here on April 1st:

http://www.fstph.at/horde/kronolith/month.php?month=4&year=2008



tia


Saved Queries