The suggestion does not work when the text has multiple lines. For this the
rules are quite complex but tractable. there is an RFC with an algorithm
for doing the wrapping. I think it is better to assume that particular encodings
will read in their natural direction and then let the computer do the
reordering.
In X11 if you typeset Hebrew you end up with a negative length string with the
characters displayed right to left. Note this is not reversing the ordering
because the notion of right and left do not apply to a byte stream, only before
and afterwards. The technology is international, it is our mindset that is
parochial.
-- Phillip M. Hallam-BakerNot Speaking for anyone else.