6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/21/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#5972] MIME encoding of multibyte JP characters
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .__..___.___.___. [__)| |[__ [__ | [__)|__\| | |
Comment
> This one is easy. None of our MIME:: functions work with multibyte > characters. And it may be difficult to fix this in PHP since we need > a multibyte character-aware regular expression engine, and mb_ereg() > doesn't seem to accept ISO-2022-JP as a valid charset - I get > 'Warning: mb_regex_encoding() [function.mb-regex-encoding]: Unknown > encoding "ISO-2022-JP"' errors. > > > > It *is* possible to use mb_encode_mimeheader() to encode multibyte > headers properly, but mb_encode_mimeheader() is much much too greedy > to use on everyday, non multi-byte messages (it apparently will > encoding everything, even if the string is ASCII). So this is a > viable solution only if we can restrict use of this function to > multibyte charsets only. is there an easy way to determine if a > charset is multibyte or not (without maintaing a static list)?
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