Closed Bug 3941 Opened 26 years ago Closed 25 years ago

Charset Handling - Need a charset manager service

Categories

(MailNews Core :: Internationalization, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nhottanscp, Assigned: cata)

References

Details

(Whiteboard: rev'd by naoki, ready to go in)

Need a charset manager service to map charset to mail charset (e.g. Shift_JIS to
ISO-2022-JP).
In addition to the mapping, the service should provide the MIME encoding type
('B' or 'Q') for the mail charset.
They are necessary for sending Japanese mail.
Target Milestone: M4
Status: NEW → ASSIGNED
Summary: Need a charset manager service → Charset Handling- Need a charset manager service
Naoki wrote in email:
  This is needed for M4 to send mail. We need at least an interface.
  We may use some hard coded values for the implementation for now.
Target Milestone: M4 → M5
Hardcoded workaround for M4.  Fix this for M5.
Target Milestone: M5 → M6
Moved to M6 to give Cata time to assist Nisheeth on external DTD support
in the XML parser.
nhotta wrote:
  This issue is related to header sending only. Send body won't be
  affected, viewing should work for other charsets, just to clarify.
Target Milestone: M6 → M7
Target Milestone: M7 → M8
Target Milestone: M8 → M9
Summary: Charset Handling- Need a charset manager service → Charset Handling - Need a charset manager service
Target Milestone: M9 → M11
Will implement after coming back from vacation, as an extensibility application.
Target Milestone: M11 → M10
Target Milestone: M10 → M11
This is part of the extensibility work scheduled for M11. I don't know why this
was still marked M10...
Blocks: 11091
(target milestone is M11 or M12 - add to mail beta tracking bug)
Target Milestone: M11 → M12
Target Milestone: M12 → M13
nhotta,
cata says most of the code is already done and to add the mailcharset
mapping, he just needs to add a stringbundle.  Please work with cata
to nail down the specifics.
Interfaces I need,

// return charset name
string MIMEMailCharset(in string charset);
// return MIME header encoding method (e.g. "B", "Q")
string MIMEHeaderEncodingMethod(in string charset);
Whiteboard: rev'd by naoki, ready to go in
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
It's done. Finally.
Fixed.
Naoki. This looks like somthing you should be verifying.
Sending it your way.
QA Contact: momoi → nhotta
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.