In my page, I show Turkish characters, but it is a problem in the GridView, but not in any othe controls. I traced my code in Debug mode to see when a Turkish character is displayed. I select my data from the database, but at that time, everything is fine. When I step through these lines:
gridview.DataSoruce = dt;
gridview.DataBind();
I look at gridview.Rows's data, and I see Turkish characters messed up.
But the browser grid's data is seen correctly. When posting the page, I cannot read the correct word in the code-behind?
Can anybody help me ?
Note: I tried:
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
But it doesn't work.
I wat go give detail info.
the character I have troube is 'Ç'
and it is ascii value : 199
at browser I see 'Ç' at gridview's column but when I look view source of browser I see
'Ç'
--> Html number of ascii value is 199.
and when I post the page I read
'Ç'
instead of Ç .