César N.
César N.

Reputation: 499

Error importing XML file with accent mark in Android Eclipse

I have many .xml files for import to the "value" folder in the Android project (Eclipse), and these files contain String resources with this (´) accent mark (spanish accent). When I import these files, the characters with accent mark change to this character (�), but the original files are fine.

Upvotes: 1

Views: 250

Answers (2)

user2922434
user2922434

Reputation: 57

Might it be of any help. I could solve all my accent issue when using Eclipse, ensuring that Eclipse preferences (Windows->preferences->General->Content Types... and sub-entries were all setup : Default encoding UTF-8.

Upvotes: 0

Brigadier
Brigadier

Reputation: 896

You should migrate to Android Studio. If you prefer to keep using Eclipse, make sure you save your String resources with UTF-8 encoding. This is common when trying to importing projects from another computer. Greetings!

Upvotes: 2

Related Questions