Hebrew convert

  • Thread starter Thread starter Eitan
  • Start date Start date
E

Eitan

Hello,
I am looking for a function which convert hebrew string (windows) to hebrew
string (dos).
That's should pay attantion to commas, numbers, and any other character,
that may have problem when converting hebrew from dos to hebrew.

Thanks :)
 
I think there is already a function for that.
I should be in windows API.
Where can I find help (*.chm or *.hlp file) on windows API's functions ?

Thanks :)
 
Eitan,
In addition to the Platform SDK itself.

Have you looked at the System.Text.Encoding class? I would expect if you
have code page for the dos Hebrew string and the code page for the windows
Hebrew string you can get the respective Encoding objects with
Encoding.GetEncoding (as it takes a code page parameter). Using the methods
of the Encoding object directly or indirectly with the System.IO namespace
(Text Readers & Writers) you should be able convert from one to the other.

Remember within .NET strings are actually stored as Unicode so you do not
have a windows Hebrew string per se.

The follow site, plus the sites it references offers a plethora of
information on Unicode and character encodings.
http://www.yoda.arachsys.com/csharp/unicode.html

Hope this helps
Jay
 
Back
Top