From: Maksym Z. <siq...@gm...> - 2021-06-27 19:28:56
|
Hello everyone, I have a strange issue with UTF-8. Im sending AJAX request to Naviserver with defined UTF-8, this is part in my JS script. function send_POST(url, postedData, callbackf) { $.ajaxSetup({ contentType: "application/json; charset=UTF-8" }); I can see in console that value really UTF-8 encoded: add_category_modal{ "name": "Colchões" } On server Im using "ns_getcontent": if {[set ct [ns_getcontent -as_file false]] ne ""} { puts $ct } And it returns not UTF-8 content May be its a bug? Thank you |