locked
Web API support vietnam ( unicode ) characters RRS feed

  • Question

  • User-590375999 posted

    Hi, my web api   replaces some characters in vietnam with decoded characters "\u001e" , for example 

    How to handle this characters, this is happening at web api level or at browser side ? 

    Monday, May 24, 2021 4:51 AM

All replies

  • User287926715 posted

    Hi sivapooja,

    You can use the following methods to encode and decode, and the results are as follows.

    Demo:

    string name = "kiểm tra";
    string encode= HttpUtility.UrlEncode(name);
    string decode= HttpUtility.UrlDecode(change);

    Result:

    Use this method to work normally.

    Best Regards,

    ChaoDeng

    Tuesday, May 25, 2021 7:04 AM