469,917 Members | 1,529 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,917 developers. It's quick & easy.

converting java's bidi-directional code to dotnet csharp?


so i'm slowly moving the transition to csharp and once again i'm faced
with the problem for flipped hebew letters etc...

but now the problem may not be so hard to solve as i have seen that
the unicode.org has a java code for that algorithem, i've also seen
that microsoft has jlca, java language to csharp converter,

so i'm asking is it possible to use both tools to create a function
that will dispaly the problem correctly..
what i'm doing so far... (test.txt is a file written in dos app)
StreamReader sr =
new StreamReader("test.txt",System.Text.Encoding.GetEn coding(862));
// can read hebrew correctly in debug mode).
string s=sr.ReadLine();
byte[] bSource=System.Text.Encoding.Default.GetBytes(s);
// converting the charachters to my charset..

// create a function to flip the characters correctly.
Nov 16 '05 #1
0 1305

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by matt melton | last post: by
6 posts views Thread by Rick | last post: by
4 posts views Thread by jipster | last post: by
24 posts views Thread by cs_hart | last post: by
1 post views Thread by singlal | last post: by
5 posts views Thread by maya | last post: by
5 posts views Thread by ria3 | last post: by
1 post views Thread by icanhelp33 | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.