Hi!

I'm using PHP and Horde(3.3.2)/IMP(4.3.2) from ports (-current).
I have a problem with the folder name displaying.

I've installed and tried the same configuration on my desktop (Linux) 
machine, and it worked there, that's why I have the courage to write to 
the list.
I've also filed a ticket to the Horde/IMP tracker, but they can not 
reproduce it (it is http://bugs.horde.org/ticket/7781 if anybody is 
interested. One can see there a screenshot too, about the problem).

So... after login, the left-side folder list comes up, and it has some 
folders, which contains localized characters. This is only displayed 
correctly when I select the "English (American or Canadian or British)" 
language on the IMP login page from the drop-down menu. When I choose 
any other locale (but let's say now I choose my own locale, which 
is "Magyar" (Hungarian)), the folder list won't display the correct 
characters in the folders' names. It's like this:

Folder name with "English (*)" locale:
"Ügyfél"

Folder name with "Magyar" locale:
"&ANw-gyf&AOk-l"

The latter is the same UTF-7 displaying as the folder's name on the 
filesystem:
# ls -1 user/Maildir/
[...]
.&ANw-gyf&AOk-l/
[...]

Other supposedly useful information:
$ php -i |fgrep mbstring
mbstring.detect_order => no value => no value
mbstring.encoding_translation => Off => Off
mbstring.func_overload => 0 => 0
mbstring.http_input => pass => pass
mbstring.http_output => pass => pass
mbstring.internal_encoding => ISO-8859-1 => ISO-8859-1
mbstring.language => neutral => neutral
mbstring.strict_detection => Off => Off
mbstring.substitute_character => no value => no value
$ php -i |fgrep iconv
Registered Stream Filters => string.rot13, string.toupper, 
string.tolower, 
string.strip_tags, convert.*, consumed, convert.iconv.*, zlib.*
iconv
iconv support => enabled
iconv implementation => libiconv
iconv library version => 1.11
iconv.input_encoding => ISO-8859-1 => ISO-8859-1
iconv.internal_encoding => ISO-8859-1 => ISO-8859-1
iconv.output_encoding => ISO-8859-1 => ISO-8859-1

It's like that IMP doesn't even try to convert the folder names,
because it is displayed in the "native" way, exactly the same as on
the filesystem.
BTW, this is with a dovecot IMAP server.


Thanks for any help!

Daniel

-- 
LEVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



Reply via email to