Search the web
Sign In
New User? Sign Up
i18n-prog · Discussion of Internationalization programming issues (i18n)
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Using Unicode   Message List  
Reply | Forward Message #2005 of 2074 |
Re: Using Unicode

Hello,

I realise that I should have made the question more precise; however
your interpretation is correct. Thank you for the response.

Nitin

--- In i18n-prog@yahoogroups.com, "eflarup" <eflarup@...> wrote:
>
> --- In i18n-prog@yahoogroups.com, "Nitin Jain" <nitinjain8766@>
wrote:
> >
> > Hello,
> >
> > I am working on a java project, which needs to incorporate
> > Internationalisation and Localisation. It has been suggested that
the
> > locale specific ".properties" (errormessages_ar.properties) that
> > contain UNICODE equivalent of the Arabic text in my case.
> >
> > My questing is why not use the Arabic text messages rather than
their
> > UNICODE equivalent in the "xyz_ar.properties." file? What
problems will
> > this cause?
> >
> > All suggestions will be highly appreciated.
> >
> > Thank you,
> > Nitin
> >
> I am not absolutely sure what the question is, but if you are asking
> whether you can use an Arabic properties file encoded in a legacy
> encoding, then the answer is NO. See the Properties class
> specification here:
> http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html
>
> "When saving properties to a stream or loading them from a stream,
the
> ISO 8859-1 character encoding is used. For characters that cannot be
> directly represented in this encoding, Unicode escapes are used"
>
> Hence the need to represent anything NOT in 8859-1 as Unicode escape
> sequences.
>
> And in any case, using anything other than Unicode on a Java project
> makes absolutely no sense.
>





Mon Jan 14, 2008 9:00 am

nitinjain8766
Offline Offline
Send Email Send Email

Forward
Message #2005 of 2074 |
Expand Messages Author Sort by Date

Hello, I am working on a java project, which needs to incorporate Internationalisation and Localisation. It has been suggested that the locale specific...
Nitin Jain
nitinjain8766
Offline Send Email
Jan 11, 2008
2:39 pm

Nitin - Do you mean why not use the actual Arabic characters rather than the escaped \uXXXX notation? I think it's because with the escaped notation, you...
Keith R. Bennett
krbennettmd
Offline Send Email
Jan 11, 2008
9:18 pm

... I am not absolutely sure what the question is, but if you are asking whether you can use an Arabic properties file encoded in a legacy encoding, then the...
eflarup
Offline Send Email
Jan 12, 2008
2:07 pm

Hello, I realise that I should have made the question more precise; however your interpretation is correct. Thank you for the response. Nitin ... the ... their...
Nitin Jain
nitinjain8766
Offline Send Email
Jan 14, 2008
9:00 am

Nitin, I haven't tried this myself, but if you absolutely need to use another encoding for your properties file, you might be able to pull it off using the...
Lenny Turetsky
turetsky_lenny
Offline Send Email
Jan 14, 2008
6:49 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help