Open
Bug 1347888
Opened 7 years ago
Updated 2 years ago
Remove nsIConverterOutputStream
Categories
(Core :: Internationalization, enhancement, P3)
Core
Internationalization
Tracking
()
NEW
Performance Impact | none |
People
(Reporter: hsivonen, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
We should remove nsIScriptableUnicodeConverter and have chrome scripts use the same facilities as Web scripts (TextDecoder/TextEncoder) instead of maintaining a parallel XPCOM universe of things. Possible replacement: 1) TextEncoder 2) Wrap result in nsIArrayBufferInputStream 3) NetUtil.asyncCopy to nsIOutputStream
Reporter | ||
Comment 1•7 years ago
|
||
s/nsIScriptableUnicodeConverter/nsIConverterOutputStream/
Blocks: post-57-api-changes
No longer depends on: post-57-api-changes
This is used in calendar, mail and mailnews. Do the proposed replacement have the feature of the "converter" for converting characters between charsets?
Comment 3•7 years ago
|
||
Looks like there is a little confusion here. This bug is about nsIConverterOutputStream. nsIScriptableUnicodeConverter is covered in bug 1347877 and it offers the conversions. nsIConverterOutputStream seems to be used with UTF-8 on all the call sites I've looked at: http://searchfox.org/comm-central/search?q=nsIConverterOutputStream&case=false®exp=false&path=
Reporter | ||
Comment 4•7 years ago
|
||
(In reply to :aceman from comment #2) > This is used in calendar, mail and mailnews. > Do the proposed replacement have the feature of the "converter" for > converting characters between charsets? Filed bug 1353285.
Updated•7 years ago
|
Whiteboard: [qf]
Updated•7 years ago
|
Whiteboard: [qf] → [qf-]
Updated•7 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Performance Impact: --- → -
Whiteboard: [qf-]
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•