Closed Bug 452101 Opened 17 years ago Closed 17 years ago

Latin (extended ASCII) characters in install.rdf result in an "Invalid character" error when uploading an add-on.

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: morac, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 Build Identifier: I'm trying to upload my add-on and I keep getting an error about an "Invalid character" being in the install.rdf file. I tracked the problem down to a line that contains the name of one of my translators, Mikes Kaszmán István. The upload parser is breaking on the 'á' character since if I change those to 'a' it works. Accented characters are valid in the install.rdf file and the uploader should not break on them. Reproducible: Always Steps to Reproduce: 1. Add the following line to your install.rdf file: <em:translator>Mikes Kaszmán István (hu-HU)</em:translator> Actual Results: "The following error occurred while parsing install.rdf: Invalid character" Expected Results: Add-on should have been accepted.
Work around: I could upload it if I changed his name to "Mikes Kaszm&#x00E1;n Istv&#x00E1;n", but I don't think I should really have to do something like that.
Are you using UTF-8?
Oops, turns out the editor I used to update the file didn't support UTF-8. What threw me was that that particular character displays the same in ASCII as it does in UTF-8. I used a different editor that supports UTF-8 and it uploaded fine. Withdrawing.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
Verified per reporter; thanks for commenting back, Michael.
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.