C# Writing Hebrew to a db the text is written left to right e.g. olleh not hello

Posted by Jonathan Dyle on Stack Overflow See other posts from Stack Overflow or by Jonathan Dyle
Published on 2010-03-28T22:27:53Z Indexed on 2010/03/28 22:33 UTC
Read the original article Hit count: 554

Filed under:
|

Hi all,

When writing Hebrew to a database the text is written from left to right, Hebrew is Right to left, my app is writing olleh and not hello (in Hebrew of course).

To read the Hebrew into my app I use System.Text.Encoding.GetEncoding(1255);

My question is what am I missing when writing the text to the db?

Many thanks Jonathan

© Stack Overflow or respective owner

Related posts about c#

Related posts about hebrew