Well , the xml file didn't load and it loaded the default .properties files
from wicket
But the first trick worked :)

On 20 September 2011 13:41, Martin A [via Apache Wicket] <
ml-node+s1842946n3826499...@n4.nabble.com> wrote:

> Hi, Ahmed,
>
> As the Java specification defines, the .properties file contains only
> characters in ISO-8859-1, also known as Latin-1. Therefore you cannot enter
>
> arabic characters in a properties file.
>
> You have two options here:
>
>    1. Unicode escape your arabic characters, using converters, like this
> one
>    here > http://www.rishida.net/tools/conversion/ (what works for you
>    appears under JavaScript escapes) or
>    2. Use an xml file for language properties.
>
> Regards,
> Martin
>
> On Tue, Sep 20, 2011 at 1:53 PM, aabfattah <
> [hidden email] <http://user/SendEmail.jtp?type=node&node=3826499&i=0>>
> wrote:
>
> > Hello ,
> > I have written many .properties pages to show error messages in Arabic
> and
> > saved them in UTF-8 format and they display like that :
> > يجب ادخال اسم الدخول
> > *Although I wrote all HTML in Arabic and it displays correctly
> > *
> > I am using Eclipse Helios and I set workspace encoding to UTF-8
> >
> > --
> > View this message in context:
> >
> http://apache-wicket.1842946.n4.nabble.com/Arabic-characters-not-appearing-correctly-from-properties-file-tp3826406p3826406.html
> > Sent from the Users forum mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden 
> > email]<http://user/SendEmail.jtp?type=node&node=3826499&i=1>
> > For additional commands, e-mail: [hidden 
> > email]<http://user/SendEmail.jtp?type=node&node=3826499&i=2>
> >
> >
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-wicket.1842946.n4.nabble.com/Arabic-characters-not-appearing-correctly-from-properties-file-tp3826406p3826499.html
>  To unsubscribe from Arabic characters not appearing correctly from
> .properties file, click 
> here<http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3826406&code=YWhtZWQuYWJkZWxmYXR0YWguZWxzaGVtaXN5QGdtYWlsLmNvbXwzODI2NDA2fDI4MjAxMzAzNQ==>.
>
>



-- 
Ahmed Abdelfattah


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Arabic-characters-not-appearing-correctly-from-properties-file-tp3826406p3826514.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to