"Sanders Kaufman" <bucky@kaufman.netwrote in message
news:o1PKi.9168$JD.5519@newssvr21.news.prodigy.net ...
Quote:
"Shelly" <sheldonlg.news@asap-consult.comwrote in message
news:13fnapid7bhrdb9@corp.supernews.com...
Quote:
>Is it simply that the entire string is captured in the quotes and so
>appears on the screen as right to left? If that is the case, then what
>happens with word wrap?
>
I don't understand the question.
You had me up until word-wrap.
When you echo a string, as shown - it spits the result out to std_out as
composed.
There's no word-wrap unless the client is doing something like that.
Does that help answer the question?
As one example, if you have a table of fixed column width and allow
multi-line (a not uncommon situaton), then the text will wrap. What happens
if that text is supposed to be right to left? Treating it all as a one left
to right string will cause it to wrap incorrectly. Does that help you
understand the question?
Quote:
>
>
Quote:
>Wouldn't it then break at the beginning of the sentence rather than in
>the middle? (I have only worked on English sites).
>
Huh? Not in any context I can think of.
"ggg fff eee ddd ccc bbb aaa" will wrap as, for example,
"ggg fff eee ddd"
"ccc bbb aaa"
because it assumes left to right. In a right to left language, aaa is the
the first word, bbb the second, etc. We would want it to wrap as:
"ddd ccc bbb aaa"
" ggg fff eee"
That is what I meant. How does one make that kind of thing happen. A
simple echo will wrap incorrectly.
Shelly