473,405 Members | 2,282 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

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

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

Jan 16 '06 #1
4 2614
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,
--
Joerg Jooss
ne********@joergjooss.de
Jan 16 '06 #2
Hello Joerg,

Can you please post some code example please?

Regards,
Asaf
"Joerg Jooss" wrote:
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,
--
Joerg Jooss
ne********@joergjooss.de

Jan 16 '06 #3
Hello Asaf,
Hello Joerg,

Can you please post some code example please?


Well, what part of the solution remains hard to do?

Cheers,
--
Joerg Jooss
ne********@joergjooss.de
Jan 17 '06 #4
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/...gp;en-us;offer
prophone

I appreciate your understanding.

Regards,

Yuan Ren [MSFT]
Microsoft Online Support

Jan 19 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: lawrence | last post by:
Someone on www.php.net suggested using a seems_utf8() method to test text for UTF-8 character encoding but didn't specify how to write such a method. Can anyone suggest a test that might work?...
27
by: Eric | last post by:
Assume that disk space is not an issue (the files will be small < 5k in general for the purpose of storing preferences) Assume that transportation to another OS may never occur. Are there...
40
by: Peter Row | last post by:
Hi all, Here is my problem: I have a SQL Server 2000 DB with various NVarChar, NText fields in its tables. For some stupid reason the data was inserted into these fields in UTF8 encoding. ...
9
by: Andy | last post by:
I am trying to write a for loop that will print all the ISO-Latin characters to a database. However: I am not sure exactly how to go about printing the ISO-Latin character set. Would anyone be...
9
by: Mark | last post by:
I've run a few simple tests looking at how query string encoding/decoding gets handled in asp.net, and it seems like the situation is even messier than it was in asp... Can't say I think much of the...
10
by: joelagnel | last post by:
hi friends, i've been having this confusion for about a year, i want to know the exact difference between text and binary files. using the fwrite function in c, i wrote 2 bytes of integers in...
13
by: Martin Herbert Dietze | last post by:
Hi, I need to calculate the physical length of text in a text input. The term "physical" means in this context, that I consider 7bit-Ascii as one-byte-per character. Other characters may be...
0
by: yuvalbra | last post by:
Hello , I work with asp and send email by cdonts and want to get in in 1255 ISO-Logical encoding every email i got the numbers shows backwords , i need to goto to encoding and replace to...
1
by: Hvid Hat | last post by:
Hello How should I go about marking certain words in a text? I've got a list of words: <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="Mark.xsl"?> <Words>...
4
by: =?ISO-8859-1?Q?Nordl=F6w?= | last post by:
How do I efficiently determine which possible encoding(s) a given text is in? Can I use the iconv.h api somehow? Thanks in advance, Nordlöw
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.