ViaThinkSoft thinkBug  thinkBug v0.16 beta - Build 2024-01-30
<< Zurück zur Projektauswahl | Projekt "OIDplus 2.0" - im Besucher-Modus


<< Vorheriger EintragBUG#0000211Nächster Eintrag >>
Bugreport: ajax.php UTF-8 Encoding issues / application/json -> text/json
Text / Beschreibung:

Hello,
after update ajax.php outputs some encoding garbage.
My quick fix was:
Remove

header('Content-Type:application/json; charset=utf-8');

and avoid using this @
Instead use

header('Content-Type: text/json');

e.g. on top

regards,
Till

P.S.: Encoding to utf-8 twice? Or other encoded content, or copuld it be any of my modifications?

Insgesamt 1 Antwort(en) vorhanden.
Bug was in a proxy script in combination with the HTTP/2 protocol




thinkBug © 2004 - 2024 ViaThinkSoft
thinkBug Logo © 2008 taccon software project
thinkBug v0.16 beta - Build 2024-01-30