Search code examples
c#.netlocalizationsybase

Some characters are not showing correctly when populating WinForms from Sybase


I'm using a datagridview in C# WinForms, with data from a Sybase database, and characters are not showing correctly. This is what I see:

my datagridview

Do you know how can I fix this?


Solution

  • Finally, I found a solution in a post.

    You have to add to your connection string the following parameter:

    KeepOrgMultibyte = 1;