It's not a de facto standard, it's a de jure standard.

Under the various relevant standards, Unicode is the only character
set, and UTF-8 the only encoding of that character set, which are
guaranteed to be available to you.

You can use 16 or 32-bit encodings of Unicode internally, but except
for interfacing to legacy stuff, NOBODY, ANYWHERE, should be speaking
anything but UTF-8.

It's what lets the world talk together.

The root standard here is ISO-10646, and everything from the XML and
HTML and HTTP standards to the Java language itself reference it.

If you want more information, go to unicode.org -- they have a huge
amount of information. If you're going to be doing a lot of
international text stuff, it may be worth buying a copy of the
standard. I'd get the Unicode standard rather than the corresponding
ISO-10646 document, because it's a lot more practical and usable, but
it's ultimately essentially the same thing -- Unicode.org pretty much
drives the ISO-10646 standard.

On Mar 15, 1:42 pm, Kumar Bibek <coomar....@gmail.com> wrote:
> UTF-8 is the de-facto standard for encoding.
>
> You can find all the encoding types in the Http class.
>
> Thanks and Regards,
> Kumar Bibek
>
> On Mar 16, 1:15 am, Nikolay Ananiev <devuni...@gmail.com> wrote:
>
>
>
> > Just use UTF-8 encoding and everything should work fine. UTF-8 is like
> > magic!
>
> > On Mon, Mar 15, 2010 at 10:07 PM, lordjoe <lordjoe2...@gmail.com> wrote:
> > > Assume I want to write an xml resource file with a  a non-europian
> > > language, say
> > > japanese, thai or chinese- What encodings can I use and
> > > what do I have to to to both the xml header and the Writer to makes
> > > these work -
> > > Also is there an easy way to map a Locale into acceptable encodings
>
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Android Developers" group.
> > > To post to this group, send email to android-developers@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > android-developers+unsubscr...@googlegroups.com<android-developers%2Bunsubs
> > >  cr...@googlegroups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to