[wp-trac] [WordPress Trac] #59546: Gutenberg invalid json due to UTF-8 character E2 80 AF

WordPress Trac noreply at wordpress.org
Thu Oct 5 10:02:37 UTC 2023


#59546: Gutenberg invalid json due to UTF-8 character E2 80 AF
--------------------------+-----------------------------
 Reporter:  jungb         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.3.2
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 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>
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59546>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list