You are either not logged in or not registered with our community. Click here to register.
 
April 17, 2021, 01:23:31 am

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Click here if you are having problems.
Default Wide Screen Beige Lilac Rainbow Black & Blue October Platinum Send us your theme!

Wiki Blogs Dicebot

Author Topic: Bug: "in-place" post edit messes up Unicode characters  (Read 416 times)

0 Members and 1 Guest are viewing this topic.

Online Al TeregoTopic starter

Bug: "in-place" post edit messes up Unicode characters
« 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.
« Last Edit: May 15, 2020, 12:24:42 pm by Al Terego »

Offline jouzinka

  • Elf                            Guardian of the Blind Unbowed,Unbent,Unbroken. Law, Hîr nín, ú dollen i Rîw…
  • Lady
  • Addict
  • *
  • Join Date: Nov 2008
  • Location: Surely wielding my mad makeup skillz somewhere
  • Gender: Female
  • The E mantra: Sip, swallow, scroll, sip, swallow..
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: Bug: "in-place" post edit messes up Unicode characters
« Reply #1 on: May 15, 2020, 12:32:59 pm »
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.

Offline Beguile's Mistress

  • Time flies like an arrow ~ Fruit flies like a banana ~ Elliquiy's Fair-E Godmother
  • Dame
  • Carnite
  • *
  • Join Date: Jul 2009
  • Location: Faeleacanvald ~ The Steeler Nation ~ Home of Lord Stanley's Cup 16/17 ~ She won't stay throwed! ~ 48\22-5\1\11-5\7
  • Gender: Female
  • Perpetual Notion Machine ~ 'What if...?'
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 3
Re: Bug: "in-place" post edit messes up Unicode characters
« Reply #2 on: May 15, 2020, 12:33:51 pm »
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.

Online Chasing Dreams

Re: Bug: "in-place" post edit messes up Unicode characters
« Reply #3 on: May 15, 2020, 03:45:47 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.