6.0.0-alpha14
6/29/25

[#7244] problem with umlaut characters in prefs.php
Summary problem with umlaut characters in prefs.php
Queue IMP
Queue Version HEAD
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester m.gabriel (at) das-netzwerkteam (dot) de
Created 08/27/2008 (6150 days ago)
Due
Updated 08/29/2008 (6148 days ago)
Assigned
Resolved 08/28/2008 (6149 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/29/2008 09:50:39 PM Michael Slusarz Comment #12 Reply to this comment
patch attached :-/
Applied to IMP 4.2.1.
08/29/2008 09:50:21 PM CVS Commit Comment #11 Reply to this comment
08/29/2008 09:49:46 PM CVS Commit Comment #10 Reply to this comment
Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/imp/config/conf.xml?r1=1.131&r2=1.132&ty=u
08/29/2008 07:00:23 PM m (dot) gabriel (at) das-netzwerkteam (dot) de Comment #9
New Attachment: conf.xml.patch Download
Reply to this comment

[Show Quoted Text - 9 lines]
patch attached :-/


08/29/2008 06:59:29 PM m (dot) gabriel (at) das-netzwerkteam (dot) de Comment #8 Reply to this comment
it would be nice to have that sort of explanation as a description 
text in the imp admin config page where the conf parameter 
"fixed_folders" is set... (i.e. imp's conf.xml).



patch attached...
08/28/2008 09:01:25 PM Michael Slusarz Comment #7 Reply to this comment
That being said, we should probably put comments in prefs.php for
every folder pref we have to make this clear.
Done.
08/28/2008 09:01:01 PM CVS Commit Comment #6 Reply to this comment
08/28/2008 07:12:45 PM m (dot) gabriel (at) das-netzwerkteam (dot) de Comment #5 Reply to this comment

[Show Quoted Text - 10 lines]
ah... ok.
That being said, we should probably put comments in prefs.php for
every folder pref we have to make this clear.
as the prefs.php etc. files will only be maintained by (h+p)ostmasters 
this will probably suffice.



thx,

mike
08/28/2008 04:38:02 PM Michael Slusarz Comment #4 Reply to this comment
What's wrong with that? It's the expected behavior.
with unix OS depending on your distribution / OS vendor your shell's
encoding settings can differ (ISO-8859-15, UTF-8, etc.) and that has
consequences for special characters (above the 8-bit threshold) in
prefs.php/conf.php
All of this is irrelevant.  There is only one charset that can be used 
for folder prefs - UTF7-IMAP (see RFC 3501 [5.1.3]).  You need to 
convert your folder name to this charset.



That being said, we should probably put comments in prefs.php for 
every folder pref we have to make this clear.
08/28/2008 04:31:09 PM m (dot) gabriel (at) das-netzwerkteam (dot) de Comment #3 Reply to this comment
What's wrong with that? It's the expected behavior.
with unix OS depending on your distribution / OS vendor your shell's 
encoding settings can differ (ISO-8859-15, UTF-8, etc.) and that has 
consequences for special characters (above the 8-bit threshold) in 
prefs.php/conf.php



so if this not a bug (it is to my point of view) which encoding 
(charset) is used / presumed when including the prefs.php / conf.php 
files? does the php include function/command take the user's language 
/ charset into consideration (i.e. the shell's LANG variable, talking 
about unix systems here)? alternatively, is there a way to tell php: 
this very specific php file (e.g. prefs.php) is written in charset 
UTF-8 (my shell's default charset) while other files are written in 
ISO-8859-15 etc.?



when i put an umlaut in my prefs.php i surely want horde / php be able 
to understand what i mean...


08/28/2008 09:12:07 AM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
What's wrong with that? It's the expected behavior.
08/27/2008 05:24:27 PM m (dot) gabriel (at) das-netzwerkteam (dot) de Comment #1
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ problem with umlaut characters in prefs.php
Type ⇒ Bug
Priority ⇒ 1. Low
Reply to this comment
when putting a folder name with umlauts into prefs.php or conf.php 
(fixed_folders) then imp behaves unexpectedly.



when i put, for example, "Gel&APY-schte Objekte" instead of "Gelöschte 
Objekte" as my trash folder name into prefs.php, then imp accepts a 
trash folder with umlauts.



same with other folders...



or do i miss some nls setting in nls.php (my site's default lang is to 
de_DE)???

Saved Queries