After update to 5.5.1 German umlauts in dynamic block properties ( strings ) are incorrectly encoded/saved in the database.
Something like this as request:
<!-- wp:hsu/mitarbeiterblock {"dataPostanschrift":["Universität","Fakultät für Elektrotechnik",""],
becomes (response & db):
<!-- wp:hsu/mitarbeiterblock {"dataPostanschrift":["Universitu00e4t","Fakultu00e4t fu00fcr Elektrotechnik",""]
To reproduce, modify a request and insert umlauts like öäü in properties of a block.
Is there something to solve this?
After update to 5.5.1 German umlauts in dynamic block properties ( strings ) are incorrectly encoded/saved in the database.
Something like this as request:
<!-- wp:hsu/mitarbeiterblock {"dataPostanschrift":["Universität","Fakultät für Elektrotechnik",""],
becomes (response & db):
<!-- wp:hsu/mitarbeiterblock {"dataPostanschrift":["Universitu00e4t","Fakultu00e4t fu00fcr Elektrotechnik",""]
To reproduce, modify a request and insert umlauts like öäü in properties of a block.
Is there something to solve this?
Share Improve this question edited Oct 8, 2020 at 16:21 sosere asked Oct 8, 2020 at 13:24 soseresosere 12 bronze badges 5 |1 Answer
Reset to default 0Solved myself. The rest response ist fine. Important is not the raw response but the json encoded representation. Couse of my problem war editing the files with vi. VI reencoded the files itself. PHP & JS files need to be encoded as utf8.
edit
link to edit it in – Tom J Nowell ♦ Commented Oct 15, 2020 at 17:58