Closed
Bug 307625
Opened 20 years ago
Closed 20 years ago
OPML export and import seem to have different assumptions about (default) character sets
Categories
(MailNews Core :: Feed Reader, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: pont_bug_mozilla, Assigned: sayrer)
Details
(Keywords: fixed1.8)
Attachments
(1 file)
|
1.18 KB,
patch
|
mscott
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; sv-SE; rv:1.8b4) Gecko/20050909 Firefox/1.4
Build Identifier: Tb 1.4
(Verified for swedis characters - å, ä and ö.)
When exporting (from subscription management) feeds with non-ascii characters in
their names, it seems to output a file using iso-8859-1 or iso-8859-15 (or
something like that).
However, if one imports that same file, those characters are removed and the
replacement character (U+FFFD) is used instead. (If the export is repeated after
that, it uses the entity, which works correctly).
Reproducible: Always
Steps to Reproduce:
1. Subscribe to a feed (such as http://kornet.nu/blindhona/index.xml) with
non-ascii character in the name.
2. Export
3. Remove feeds
4. Import OPML file that was exported
Actual Results:
Non-ascii (latin-1?) characters in names replaced by U+FFFD.
Expected Results:
The names should be the same after exporting and importing.
Seems to work correctly when using entities with decimal references, can't we
just do that for non-ascii chars?
| Assignee | ||
Comment 1•20 years ago
|
||
Yes, the xmlEncoding of the opml DOM is null. We'll tell the serializer to use
utf-8.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
| Assignee | ||
Updated•20 years ago
|
Assignee: mscott → sayrer
Status: ASSIGNED → NEW
| Assignee | ||
Comment 2•20 years ago
|
||
Attachment #196428 -
Flags: review?(mscott)
| Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Updated•20 years ago
|
Attachment #196428 -
Flags: review?(mscott) → review+
Comment 3•20 years ago
|
||
fixed branch and trunk.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird1.1
Component: RSS → Feed Reader
Product: Thunderbird → MailNews Core
Target Milestone: Thunderbird1.1 → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•