Re: right to left fonts inside strings
- To: mathgroup at smc.vnet.net
- Subject: [mg57286] Re: right to left fonts inside strings
- From: dh <dh at metrohm.ch>
- Date: Mon, 23 May 2005 04:30:39 -0400 (EDT)
- References: <d6k9c4$10c$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi Rose, are you claiming that the order of the character you enter in a string appears different on output? I think the characters appear in thesame order you entered it. Anyway, if you want to reverse the character order of every string in the output, you could use $PrePrint: $PrePrint = (# /. x_String :> StringReverse[x]) & If you do not like reversed strings, you can clear $PrePrint by: $PrePrint = . Sincerely, Daniel rose wrote: > hi > when i assign a hebrew letters to a string, like this: > a=".... hebrew letters"; > i could not see it formaly (in appearance) from right to left as the hebrew fonts need, but in reverse. > there is in the directory of mathematica a file ISO-8859-8 which is for hebrew fonts, > i try: > $CharacterEncoding ="ISO-8859-8"; > > a=" ...." > > but the letters inside the quoting still appear from left to right. > > or it is not possible, but it is possible under visual basic when i want to make a variable like this: > > a$="letters here go from right to left"; > > thanks very much > >