Skip to Content
author's profile photo Former Member
Former Member

Charset cp850 Sybase ASE - ADO.NET


I am developing an mvc application that connects to Sybase. The data in the database are in Spanish, with accents and character 'ñ'. When I retrieve data through connection, these characters are not interpreted correctly. The connection to the database is:


<add name="database" connectionString="Data Source='';Port='5000';UID='sa';PWD='';Database='test';CharSet='cp850';" />


It is assumed that the charset that I use is cp850. The database by default uses this charset.

I have read that a user has used the connection parameter KeepOrgMultibyte=1, but does not work me.

Thank you for you help

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Dec 29, 2014 at 06:57 PM


    So are you developing this on Windows 2012 or a different version of Windows? What version of the Sybase.AdoNet#.AseClient.dll are you using? I am assuming your ASE's default charset is CP850? What language is the ASE set to?

    Please give us this information I think you might be hitting a known issue. If it is the issue than you might try to set the charset=iso_1.

    Dawn Kim

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.