Eclipse already defaults to UTF-8 for XML.

The behavior at runtime does not depend on the encoding in Eclipse (you
don't have to use utf-8 in Eclipse to make apps in Russian)....

.... however ....

If your Java source files are in windows-1251 and Eclipse is set up to
assume something else, or the other way around, then those text literals
will not be interpreted correctly at compile time. This will very likely
cause issues at runtime.

And actually, one other thing you can do, is to move those Russian strings
to an Android XML resource file. Since those are assumed by Eclipse to be
UTF-8, they should work regardless of character set settings in Eclipse or
Windows.

-- K

2012/9/3 lselwd <[email protected]>

> utf-8 converting Project means all files should be utf-8 including java,
> xml,... files, and device should be able to work and view without problem,
> *even in not Russian language setting*? correct?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to