Click here to Skip to main content
15,073,911 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I have client application and a SQL server. Client stores strings to a varchar field in SQL Server and retrieves it again. Te problem is that I need a byte array and when I store in the database and recover the data all chars 128 are converted to 63. I know it's about charset and encoding but don't find how to solve it.

Any idea?

Thanks.
Posted

1 solution

Solved. Changed Server field to Binary.
   
Comments
Yusuf 26-Oct-10 15:49pm
   
Good to see you solved it.

I would have added to the title [Solved] and then add comment to the description.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900