How to display Japanese Characters through C# code

  • Hi,

    I have some nvarchar fields in the backend, and these store some Japanese characters along with English characters.

    When I try to retrieve this using a string variable in C#, the Japanese characters are displayed as "?" . How could i get the right display?

    Thanks,

    KK

  • There are two options if the Japanese is stored in a separate column you could change the collation to the version of Japanese you are getting from the database and use the collation in your T-SQL code. If both Japanese and English are stored in one column then you need collation precedence. Run a search for collation precedence in the SQL Server BOL.

    Kind regards,
    Gift Peddie

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply