teammates icon indicating copy to clipboard operation
teammates copied to clipboard

Problem with Unicode characters in submissions

Open damithc opened this issue 3 years ago • 6 comments

Reported by a user:

When I enter single quotes, they are decoded to html character codes as shown in the screenshot. Emojis are also affected.

image

How to replicate:

  1. Enter feedback containing single quotes. Emojis also work.
  2. Scroll to the bottom of the page and click on the ’Submit Feedback’ button

Expected behaviour: Feedback remains the same. Actual behaviour: Certain characters are replaced with their html character code counterparts.

damithc avatar Feb 28 '22 07:02 damithc

@damithc I tried to reproduce this but seems like Unicode characters work. Any other way to reproduce this issue?

image

sivayogasubramanian avatar Jun 10 '22 11:06 sivayogasubramanian

@sivayogasubramanian try these (note the subtle differences in the punctuation symbol used):

You’re (rather than You're) “Hello” (rather than "Hello")

damithc avatar Jun 11 '22 03:06 damithc

@damithc It seems like it works on my end.

image

sivayogasubramanian avatar Jun 11 '22 11:06 sivayogasubramanian

@sivayogasubramanian based on the initial user report, she is referring to the submission page itself, not the results view.

How to replicate:

  1. Enter feedback containing single quotes. Emojis also work.
  2. Scroll to the bottom of the page and click on the ’Submit Feedback’ button

damithc avatar Jun 25 '22 13:06 damithc

@damithc I tested on the submission page. It works for me. Perhaps can try asking the user for more details like the browser, OS, and specific steps to reproduce.

https://user-images.githubusercontent.com/53614454/175778086-757cf402-1f7a-48da-84f3-95b73a1eb92a.mp4

sivayogasubramanian avatar Jun 25 '22 14:06 sivayogasubramanian

I've asked the user for more info. Will update here if I hear back from him.

damithc avatar Jun 25 '22 17:06 damithc

Close as there is no recent occurrence

wkurniawan07 avatar Jan 08 '23 17:01 wkurniawan07