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)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pont_bug_mozilla, Assigned: sayrer)

Details

(Keywords: fixed1.8)

Attachments

(1 file)

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?
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: mscott → sayrer
Status: ASSIGNED → NEW
Attachment #196428 - Flags: review?(mscott)
Status: NEW → ASSIGNED
Attachment #196428 - Flags: review?(mscott) → review+
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.

Attachment

General

Creator:
Created:
Updated:
Size: