6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
1/7/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9020] Subject charset problem
*
Your Email Address
*
Spam protection
Enter the letters below:
.___. .. .. ..__. [__ |\/|\ /\ /| | [___| | \/ \/ |__\
Comment
> As it turns out, the issue was only half fixed - not sure why. Some > messages were now showing fine while others still had question marks. > > I started looking and finally traced it down to: > imp/lib/IMAP/MessageCache.php > > where the function retrieve that gets the subject ( and other header > pieces ) says... : > // There should not be any 8bit characters here. > If there > // is, we either need to convert from the default charset > // or replace with question marks. > > > The line that verifies if I have a default charset is this: > if (!empty($GLOBALS['mime_headers']['default_charset'])) { > > but my default_charset was empty even though it was setup in > imp/config/prefs.php - not sure why. This is a stock installation of > the latest Horde Webmail Groupware edition. > > I simply added above that line, the following: > $GLOBALS['mime_headers']['default_charset']="US-ASCII"; > > and now finally all the subjects are showing fine. > > The two issues were: > > #1. UTF8 encoding in the subject line > #2. missing default charset in IMP > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers