Are you on Windows? There, Eclipse assumes that your Java source files use the default system encoding, which is never UTF-8 and is likely to be "windows-1251" (Cyrillic) or
On Linux, Eclipse uses UTF-8. There is a way to change the default on a per-file, per-folder, per-project, and per-workspace (global) basis (right click on a project -> properties). You might want to either convert all your files to utf-8 and tell Eclipse about it, or at least check those settings in you two workspaces and ensure that they're consistent. -- K 2012/9/2 lselwd <[email protected]> > in java file Russian chars for Strings... > > enRu = new HashMap<String, String>(); > enRu.put("Africa", "Африка"); > > textView = (TextView)findViewById(R.id.ru); > textView.setText(enRu.get("Africa")+" > "+getKeyByValue(enRu,"Африка")); > > > well I went in other WORKSPACE and opeded the file.java(with ru char in > Strings) but non-understandable chars appear for russian unlike old > workspace that converted java file to utf-8 and appear normally... if work > only in old workspace, and upload apk in my device and works, means works > in all phones??? > > -- > 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

