Closed Bug 116124 Opened 23 years ago Closed 17 years ago

remove duplicated conversion utils in nsMsgI18N.cpp

Categories

(MailNews Core :: Internationalization, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nhottanscp, Assigned: smontagu)

References

Details

nsMsgI18NConvertFromUnicode and nsMsgI18NConvertToUnicode are redundant and some of the callers are using them for UTF-8 <-> UCS2 conversions which can call xpcom utils (e.g. NS_ConvertUTF8toUCS2) and avoid overhead of creating the converters.
Blocks: 115288
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.9
Target Milestone: mozilla0.9.9 → mozilla1.2
Target Milestone: mozilla1.2alpha → ---
Product: MailNews → Core
Is this still relevant? I think the plain misuse have been removed... nsMsgI18NConvertToUnicode could use ConvertToUnicode instead - which is inlined return nsMsgI18NConvertToUnicode(....) - but I can't tell if that's useful.
Assignee: nhottanscp → smontagu
Status: ASSIGNED → NEW
QA Contact: ji → mailnews.i18n
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.