locked
How to display Unicode Characters of Gridview data RRS feed

  • Question

  • User-1939249872 posted

    How to display Unicode Characters of Gridview data?

    is it possible or not?

    Friday, January 24, 2014 2:35 PM

Answers

  • User1508394307 posted

    Go to the database (e.g. open sql server management studio) and see if you have ???? there too.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, February 6, 2014 1:49 PM

All replies

  • User1508394307 posted

    What you probably mean is encoding. Internally, the code behind ASP.NET Web pages handles all string data as Unicode. You can set how the page encodes its response, which sets the CharSet attribute on the Content-Type part of the HTTP header. This enables browsers to determine the encoding without a meta tag or having to deduce the correct encoding from the content. You can also set how the page interprets information that is sent in a request.  

    http://msdn.microsoft.com/en-us/library/39d1w2xf(v=vs.100).aspx 

    Friday, January 24, 2014 4:13 PM
  • User-1939249872 posted

    I means i'm developing multiple languages IQ test for all geographical locations where i want to use subject in unicode characters. after creating subject in unicode it displays ???

    [question marks] only instead of unicode characters. how to solve it. I also display of subjects in gridview. unfortunately its' showing in ??? .

    i'm working in asp.net 4.0[C sharp]

    Tuesday, January 28, 2014 5:12 PM
  • User1508394307 posted

    Two things

    1) is data stored correctly?
    2) is data displayed correctly?

    I explained #2 above. What about #1?

    Wednesday, January 29, 2014 2:26 AM
  • User-1939249872 posted

    yes ofcourse.

    data correctly stored and saved

    Saturday, February 1, 2014 3:18 AM
  • User1508394307 posted

    How do you know that they saved correctly and not as "????". Did you try to select data directly in the database?

    Monday, February 3, 2014 2:48 AM
  • User-1939249872 posted

    i've received data from sql queries not directly.

    Thursday, February 6, 2014 1:27 PM
  • User1508394307 posted

    Go to the database (e.g. open sql server management studio) and see if you have ???? there too.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, February 6, 2014 1:49 PM
  • User-1939249872 posted

    Thank you smirnov,

    Problem was solved. Really very very thank you

    Thursday, February 6, 2014 3:44 PM