Getting U+fffd/65533 instead of special character from Query String

前端 未结 5 665
情深已故
情深已故 2021-01-07 09:04

I have a C# .net web project that have a globalization tag set to:



        
5条回答
  •  一个人的身影
    2021-01-07 10:01

    If the app is expecting the URL-encoded request to be based on UTF-8, the character "ø" should be "%C3%B8", not "%F8". Whatever function you're using to escape/encode that request, you probably need to pass it the name of the underlying character encoding, "UTF-8".

提交回复
热议问题