jQuery ajax seems to alter SVG data sent to coldfusion server
问题 I'm using $.ajax() to send a string to a coldfusion server where it is stored in a table. When I later query and try to use that data I get an error; "null Enclosed Exception: Invalid byte 2 of 3-byte UTF-8 sequence". First I grab the SVG from the DOM and send it to an action page. It should just be a string, right? var lclSVG = $('#myDiv')[0].innerHTML; // SVG Code (XML?) $.ajax({ url: "myAction.cfm", type: "POST", data: ({myInfo: lclSVG}), }); On the myAction.cfm page I update the data into