Hello! I'm getting my text from a textbox from code-behind using control.Text() but I'm not getting the proper characters, I want "ÅÄÖ". Must be some problem with the text encoding but I've already checked my encoding settings in VS. Someone??
A:
The letters looks swedish - hence I have made the following to match swedish letters. If it's another language change the culture.
in your web.config set the following
<configuration>
<system.web>
<globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="sv-SE" uiCulture="en-US" />
</system.web>
</configuration>
Morten Anderson
2010-01-28 14:09:16
+1
A:
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
Chris Ballance
2010-01-28 15:20:31