Closed Bug 460218 Opened 16 years ago Closed 15 years ago

crash-stats mangles non-ASCII comments

Categories

(Socorro :: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: alqahira, Unassigned)

References

()

Details

(Keywords: regression)

I noticed this when looking at topcrash reports with Sam, but here's a comment I submitted myself with 3.0.3 just to verify to myself that the text was unmangled (well, the characters; not so much my French ;) ) was correct when typed on the system.

This used to work correctly (bug 415170 comment 10), and I submitted a test report tonight with that same build (the first one where commenting actually worked) and ended up with mangled non-ASCIII there, too (bp-b8fc6851-9b3d-11dd-b501-001a4bd43ef6).  So apparently this is a regression in Socorro.
I suspect the data is ok in the database, and the php rewrite of the reporter is doing something wrong here. I don't think the collector/reporter portions that would affect this have changed significantly. (Although I could be wrong there.)
That comment looks like UTF-8 interpreted as if it were Latin1: the only codepoint >127 in the text is small-e-grave (U+00E8, or 0xC3 0xA8 in UTF-8), displayed as big-A-tilde spacing-diaeresis (0xC3 0xA8 in Latin1).
This was fixed with last push of crash reporter.
I see the expected text
"Je voudrais essayer ce système et voir les accents."
(In reply to comment #4)
> This was fixed with last push of crash reporter.
> I see the expected text
> "Je voudrais essayer ce système et voir les accents."

I see the same (correct) text, so the bug oughtn't to stay open. Since no fix details are available in this bug, I'm setting WFM ("the bug has disappeared"). You're welcome to change it to FIXED if you can point to the patch.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Component: Socorro → General
Product: Webtools → Socorro
You need to log in before you can comment on or make changes to this bug.