Page MenuHomePhabricator

Flow: Some special characters are being mis-encoded, eg ndash
Closed, ResolvedPublic


Reported at but I cannot replicate.

The user is copying the content at page-top ("Flow bugs – Flow"), and pasting it into the edit box.
Then pressing "Preview" where it displays correctly.
Upon saving, the ndash appears as: –

Possibly this is a Windows7 problem? Or Parsoid?

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:14 AM
bzimport set Reference to bz57945.
bzimport added a subscriber: Unknown Object (MLST).

bingle-admin wrote:

The WMF core features team tracks this bug on Mingle card, but people from the community are welcome to contribute here and in Gerrit.

Aha! Replicatable. It only happens when the text is wikilinked. (Thanks to Fram for clarifying my overlooked variable)

[[test – test]] previews fine, but when saved it transforms into a redlinked [[test – test]]

Change 103569 had a related patch set uploaded by EBernhardson:
Special characters are being mis-encoded in links

Interesting variations at

When Ryūkotsusei previewed their own post, they saw "RyÅ«kotsusei", but once the post was saved, the name appeared correctly. (See[newRevision]=050c87914c196f3747a890b11c28d448&topic[oldRevision]=050c878e4ad055356901842b2b77d2bd&workflow=050c553390ab9384b03a842b2b77e406&action=compare-revisions

I had the opposite problem: The bluelinked @name displayed correctly, but when I saved the post, the mis-encoding is what came out.

Change 103569 merged by jenkins-bot:
Special characters are being mis-encoded in links