Text encoding to ISO-8859-8 and English reorder?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

For a particular system I need to transfer Hebrew text with encoding
ISO-8859-8 and to flip only the English characters.

For example the text:
טקסט עברית With English ועוד עברית

Should be transfer to the system as:
טקסט עברית hsilgnE htiW ועוד עברית

I know there is something that can be done with Graphics & StringBuilder but
I have no clue how to accomplish that.

Thanks in advanced for any code that will do the work.

Regards,
Asaf
 
Hello Asaf,
Hi,

For a particular system I need to transfer Hebrew text with encoding
ISO-8859-8 and to flip only the English characters.

For example the text:
טקסט עברית With English ועוד עברית
Should be transfer to the system as:
טקסט עברית hsilgnE htiW ועוד עברית
I know there is something that can be done with Graphics &
StringBuilder but I have no clue how to accomplish that.

Thanks in advanced for any code that will do the work.

Encoding doesn't matter until you write your string to a stream. You can
search through your source string buffer for all Latin only substrings (i.e.
those that consist entirely of System.Chars having values in the range of
0x41 to 0x5a, and 0x61 to 0x7a) and flip those substrings. This of cause
assumes that no Hebrew word uses Latin characters, but I guess that wouldn't
make sense anyway?

Cheers,
 
Hi Asaf,

Thanks for posting!

I have performed some research about the issue. Since I don't know the
Hebrew, I don't understand why you just convert the sequence of English
words in current scenario. If you want to get some sample code for the
current issue, unfortunately this is out of service in the newsgroup. I
suggest you contact the Microsoft PSS department (DSW Win Globalization).
This issue is supported by PSS service.

For your reference, I attached steps to contact Microsoft PSS here: You can
contact Microsoft Product Support directly to discuss additional support
options you may have available, by contacting us at 1-(800)936-5800 or by
choosing one of the options listed at

http://support.microsoft.com/common/international.aspx?rdpath=gp;en-us;offer
prophone

I appreciate your understanding.

Regards,

Yuan Ren [MSFT]
Microsoft Online Support
 
Back
Top