开发者

UTF-8 character in code behind

I have a web site and it has some words with Turkish characters (ü,ş,ö,ç). There is no problem while is viewing, but when I want to use the words in the code behind for example CheckBoxList.SelectedItem.Text, they are looking as html codes. For example; a labels text value is 'EYLÜL'. but when i looking that label's text value from code behind i'm seeing EYLÜL.

Code found i开发者_运维百科n web.config file, saved in utf-8 format.

<globalization
fileEncoding="utf-8"
requestEncoding="utf-8"
responseEncoding=""
culture="tr-TR"
uiCulture="tr-TR"
/>

How can you normally see the charachers in codebehind ?

Thanks for your helps.

KR,

Çağın

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜