Opened 3 years ago
Last modified 3 years ago
#59546 new defect (bug)
Gutenberg invalid json due to UTF-8 character E2 80 AF
| Reported by: | jungb | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | General | Version: | 6.3.2 |
| Severity: | normal | Keywords: | needs-patch |
| Cc: | Focuses: |
Description
I just inserted a text on a page, hit publish and was getting an error, which states, that the response is not a valid JSON response.
Further Inspection showed, that this error is occuring, if the text has the following char in it:
U+202F e2 80 af NARROW NO-BREAK SPACE
Here is the plain text, the char is occuring betwenn "auszuwerten" and "oder"
<p>auszuwerten oder Werbung anzuzeigen.</p>
Attachments (2)
Change History (5)
#2
in reply to: ↑ 1
@
3 years ago
Replying to Presskopp:
Related: #44958
Sorry, I dont understand why it is related? This is a bug in JSON response in Gutenberg Editor with a NNBSP char from UTF-8 Charset, not a of HTML code, which should be totally different. Also no title or post name is involved here, it is about post content.
Can you explain please?
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
the occuring error