6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/10/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10148] Incorrect message charset in replies with reply_headers
*
Your Email Address
*
Spam protection
Enter the letters below:
.___..___..__ . .._. | | | \|\ | | | | |__/| \|_|_
Comment
>> If the reply_headers preference is set, >> IMP_Compose#replyMessageText() is inserting the decoded From: header >> into the message text. This header might contain non-ASCII >> characters. When determining the message's charset further down, only >> the original message's charset is considered though. This is a >> problem if the original message matches the email charset of the >> current language (so that we don't use UTF-8 for the reply message), >> but the From: header can not be converted to that charset. > > I'm thinking we should junk a) auto-determining charset of outgoing > reply message based on the original message and b) doing away with > the sending_charset preference. In other words, we should send > everything in UTF-8. Are there really mail readers out there in 2011 > that still don't support UTF-8? > > I am more inclined to keep a) simply because it gives us hard > information that the sender can at least read the e-mail message (on > at least one of his MUA's) in that charset. And generally people > aren't doing something like responding to a Norwegian message in > Mandarin Chinese, so this charset hint is useful in almost all cases. > But the code would be so much easier to maintain if we just convert > everything to UTF-8 and consistently stick with that internally. > > a) would work better if we had some way of telling that the > conversion from UTF-8 -> other charset was unsuccessful (e.g. there > is no codepoint mapping for a certain character). But I don't think > our conversion methods give us this kind of feedback so that is not > helpful. > > Having the user pick the charset is simply out of the question. > Nobody, outside of maybe programmers and computer scientists, has any > clue what charsets mean anyway, so giving them an option to change is > completely pointless. > > Thoughts?
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