hostell Posted February 28, 2011 Share Posted February 28, 2011 This bug is since the very beginning of implementation of ajax editing ticket answers in admin area. The problem is that this function $(".savebutton").click(function () { var butid = $(this).attr("id"); var newticketcontent = $("#"+butid+"_box_text").val(); var ticketcontentpassback = newticketcontent.replace(/\n/gi, '<br>'); $("#"+butid+"_box").html(ticketcontentpassback); $.post("supporttickets.php", { action: "updatereply", text: newticketcontent, id: butid }); $(".editticketbuttons"+butid).toggle(); }); $.posts reply in UTF-8 encoding, ignoring the system charset defined in global configuration. As a result, answers being edited this way, become unreadable after refreshing the page. WBR. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.