Unicode character not support in UriMapper? RRS feed

  • Question

  • I would use the following code

                <sdk:Frame.UriMapper >

    Below is the link?

    bad display:


    The result should be as follows:

    this is correct url:


    Thursday, March 23, 2017 7:48 PM

All replies

  • Hi friend,

    As far as I know, the characters in the URL can only be ASCII characters, but the ASCII characters are relatively small, and the URL often contains characters other than the ASCII character set, such as non-English characters, Chinese characters, special symbols, etc., so the URL is converted. This process is called URL encoding, or URL escaping, in essence, will contain non-ASCII characters to convert the URL to a valid ASCII character format.

    So, your url includes special characters, you will get the "bad display".

    HttpServerUtility.UrlEncode Method (String):

    If you want to know about URL encoding, you can visit the ASP.NET forum for getting suitable help.

    Best Regards,

    Yohann Lu

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, March 28, 2017 5:20 AM