Bug: "in-place" post edit messes up Unicode characters

Started by Al Terego, May 15, 2020, 12:21:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Al Terego

There are two ways to edit a submitted post, a "full" edit in a separate page, or a "quick" edit in-place:



The problem is that the quick edit will mess up any Unicode characters.

For example, the following string uses special quotation marks:

“Example”

But when after I edited this post in-place, and saved it, it was silently changed to:

%u201CExample%u201D


This is a big problem since many people paste text from word processors, and the edit box shows no indication of the problem.

The "full" post modification does not exhibit this problem.
                    

jouzinka

I also encountered this problem when I edited in the "toggle view" mode (a WYSIWYG editor) on the Edit in a new page. Fun times.
Story status: Not Available
Life Status: Just keep swimming...
Working on: N/A

Beguile's Mistress

I seldom use the Edit in-place feature unless I have posted something and need to give it a quick fix.  That keeps the system out of those problems because I use the Modify feature.

It has been years since I fell into that situation.

Chasing Dreams

Quote from: Al Terego on May 15, 2020, 12:21:30 PM
There are two ways to edit a submitted post, a "full" edit in a separate page, or a "quick" edit in-place:



The problem is that the quick edit will mess up any Unicode characters.

For example, the following string uses special quotation marks:

“Example”

But when after I edited this post in-place, and saved it, it was silently changed to:

%u201CExample%u201D


This is a big problem since many people paste text from word processors, and the edit box shows no indication of the problem.

The "full" post modification does not exhibit this problem.

This has been on ongoing problem. I've just been using the modify at the top of the page to avoid it.
Selectively Available for NEW stories.
Status ⋮ Around here somewhere.
Posts owed ⋮ 7 out of 8 
Posting Order (Click to see.)

Thank you Amaris for the beautiful signature!