javascript - jQuery ajax call is not sending japanese character in headers attribute -
I am using jquery.ajax call to call my service and
$. Ajax ({url: "my / url / for / post", type: 'POST', header: {name: "ç§ ????" ???? ???? ???? ???? ???? ???? © one ?? ¹ã? ?? ?? ÃÆ'à ¢ â,¬Å¡Ãƒâ € šÃ, ·? ContentType: "application / octet-stream", process data: wrong, async: right, data type: error}); < / Code> But when I send a request to send the header, then the name was not.
Do I have any other specialty which is to send the Japanese or Chinese character to the header? < Use the name: unescape (encodeurIComponent ("ç§ ?? a ??ll ? encodeurIComponent () Special characters will encode Unsap () will encode the encoded string.
Comments
Post a Comment