5.3.0-git
2014-08-27

[#7743] On FreeBSD (at least 7.x) the charset detection fails
Summary On FreeBSD (at least 7.x) the charset detection fails
Queue Horde Base
Queue Version Git master
Type Bug
State No Feedback
Priority 1. Low
Owners
Requester bra (at) fsn (dot) hu
Created 2008-12-01 (2095 days ago)
Due
Updated 2013-04-03 (511 days ago)
Assigned 2013-02-04 (569 days ago)
Resolved 2013-04-03 (511 days ago)
Milestone
Patch No

History
2013-04-03 11:11:06 Jan Schneider State ⇒ No Feedback
Version ⇒ Git master
 
2013-02-04 13:38:42 Jan Schneider Comment #5
State ⇒ Feedback
Taken from Horde DevelopersHorde Developers
Reply to this comment
Is this still an issue with recent FreeBSD versions?
2010-09-24 22:17:58 Jan Schneider Comment #4
Milestone ⇒
Reply to this comment
We have to use the same charsets everywhere else in nls.php.dist.
It's not that easy actually, because we still need to use the non-BSD 
charsets for Content-Type email headers.
2008-12-08 12:18:19 Jan Schneider Milestone ⇒ 3.3.2
Priority ⇒ 1. Low
Taken from Jan Schneider
Assigned to Horde DevelopersHorde Developers
 
2008-12-08 12:17:54 Jan Schneider Comment #3
Queue ⇒ Horde Base
Version ⇒ 3.3
Reply to this comment
No, that patch is just for upgrades from earlier versions. The code is 
from vanilla nls.php.dist.

We have to use the same charsets everywhere else in nls.php.dist.
2008-12-08 02:49:24 Chuck Hagenbuch Assigned to Jan Schneider
State ⇒ Assigned
 
2008-12-08 02:49:16 Chuck Hagenbuch Comment #2
Queue ⇒ Horde Groupware
Version ⇒ 1.2
Reply to this comment
The PHP_OS == BSD check is done in one of the groupware patches.
2008-12-01 14:52:44 bra (at) fsn (dot) hu Comment #1
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ On FreeBSD (at least 7.x) the charset detection fails
Type ⇒ Bug
Priority ⇒ 2. Medium
Reply to this comment
In horde/config/nls.php, there is a separate charset list for PHP_OS=="BSD".

For example my locale (Hungary, hu_HU) specifies the charset 
"ISO8859-2", but when I try to compose(.php) an e-mail, it has no 
charset selected, so the e-mail will have the default (the first, 
Arabic, Windows-1256).



Printing in the foreach in compose.php, it seems that the loop 
compares ISO8859-2 with (among others) ISO-8859-2.



So I think it would be good to have that dash, at least for FreeBSD in 
nls.php.