1

For example, http://example.com?name=Имя in QueryString is some kind of hieroglyphs. This problem occurs only when you run the application in Linux, Windows is OK.

public IActionResult Index(string name)
{
    // name == "РёРјСЏ"
    return View();
}
4
  • What is the problem using methods from this answer? Commented Jul 8, 2017 at 8:25
  • Try to look here. Looks like similar problem Commented Jul 8, 2017 at 8:31
  • This problem occurs only when you run the application in Linux, Windows is OK Commented Jul 8, 2017 at 8:38
  • IActionResult Index(string name) { // name == "РёРјСЏ"} Commented Jul 8, 2017 at 8:41

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.