Hi, Torsten! I am using Mozilla Firefox. I tried with Internet Explorer and the same problem occurred.
The meta tag is set properly as you stated. here is part of the source code of the page <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>OFBiz: Accounting Manager: Edit Agreement</title> <script language="javascript" src="/images/calendar1.js" type="text/javascript"></script> <script language="javascript" src="/images/selectall.js" type="text/javascript"></script> <script language="javascript" src="/images/fieldlookup.js" type="text/javascript"></script> <link rel="stylesheet" href="/images/maincss.css" type="text/css"/> <link rel="stylesheet" href="/images/tabstyles.css" type="text/css"/> </head> Best regards, Bashir Torsten Schlabach-2 wrote: > > Hi Bashir! > > Forget about Windows-1256. This is not what you want. > > What browser are you using? Internet Explorer or Mozilla? Would you > bring trying the other one, as one step? > > Here's what I'd check: > > - Is the page delivered to the browser as HTML or XHTML? (You can check > using the "show page source" option in your browser.) > - In case it's XHTML and in case the browser is Internet Explorer, it's > not enough to have <?xml version="1.0" encoding="UTF-8"?>, but you > should either add an HTML meta tag like this: > > <head> > ... > <meta content="text/html; charset=UTF-8" http-equiv="content-type" /> > ... > </head> > > or make sure the corresponding HTTP header is sent. > > I am not that familiar with OFBiz internals to tell you how to ake this > happen, but I am sure other people on the list would be able to help. > > But in order to find out if this would solve your problem or now, just > do this: > > Save the page to the harddisk. > Add that <meta ...> tag manuelly to the <head> section of your HTML. > Reload the saved page from your harddisk into the browser. > > I found IE wanted that extra info while Mozilla doesn't. > > Regards, > Torsten > > > Bashir Alfetori schrieb: >> Torstan, >> >> As an example, here is a screen shot of how one label appears in the >> Create >> Agreement Screen. >> http://www.nabble.com/file/6705/ArabicLabel.JPG >> >> The Character encoding of the browser is set by default to >> Unicode(UTF-8). >> if changed to Arabic(Windows-1256) the second screen shot is obtained. >> http://www.nabble.com/file/6706/ArabicLabel_Encoding_Windows-1256.JPG >> >> >> Best regards, >> Bashir >> >> >> >> Bashir Alfetori wrote: >> >>>Torstan, >>> >>>Arabic word: الرئيسية >>>ِAppears in the browser as: الرئيسية >>> >>>The character encoding in the browser is set to Unicode (UTF-8) >>> >>> >>> >>> >>>Torsten Schlabach-2 wrote: >>> >>>>Bashir, >>>> >>>>could you send a screenhot of how it looks like? >>>> >>>>Regards, >>>>Torsten >>>> >>>>Bashir Alfetori schrieb: >>>> >>>>>Adrian >>>>> >>>>>Yes, Arabic is right-to-left language. I have modified the existing >>>>>style >>>>>sheet to reverse the direction. I noticed that not every thing is ok >>>>>when >>>>>reversing direction especially in forms. Now, first I am concerned about >>>>>displaying Arabic characters even if the direction is still >>>>>left-to-right. >>>>>Till now I couldn't do that as mentioned above. >>>>> >>>>> >>>>>Regards, >>>>>Bashir >>>>> >>>>> >>>>> >>>>>Adrian Crum wrote: >>>>> >>>>> >>>>>>Bashir, >>>>>> >>>>>>Is Arabic a right-to-left language? If yes, then you can either modify >> >> the >> >>>>>>existing style sheets to reverse the direction or you can leave the >>>>>>existing >>>>>>style sheets alone and cascade a "right-to-left" style sheet that >> >> reverses >> >>>>>>the >>>>>>direction. >>>>>> >>>>>>I have done some experiments with reversing the direction in OFBiz. Let >> >> me >> >>>>>>know >>>>>>if you need any help. >>>>>> >>>>>>-Adrian >>>>>> >>>>>> >>>>>>Bashir Alfetori wrote: >>>>>> >>>>>> >>>>>>>I am trying to start with translating OFBiz to Arabic. I tried one >>>>>>>properties >>>>>>>file. At first I was not able to enter Arabic characters into that file >>>>>>>until changed the property file to support utf-8. It was ok then to >> >> enter >> >>>>>>>Arabic characters in the properties file but in the browser the result >>>>>>>was >>>>>>>that the labels were not showing in Arabic. It was a kind of garbage >>>>>>>words. >>>>>>>I also tried to build a simple Ofbiz application in Arabic like that >>>>>>>shown >>>>>>>in the hello world tutorials but the same problem existed. Also it >> >> seems >> >>>>>>>that every character in Arabic was displayed in the browser in three >>>>>>>strange >>>>>>>characters. The direction is still left to right. I just want to >> >> display >> >>>>>>>Arabic characters on the browser. >>>>>> >>>>>> >>>> >>> >> > > -- View this message in context: http://www.nabble.com/Arabic-Translation-tf3267551.html#a9103234 Sent from the OFBiz - User mailing list archive at Nabble.com.
