Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6016547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:59:52+00:00 2026-05-23T02:59:52+00:00

I have a current Android app that uses i18n via resources. res/values-es/strings.xml and so

  • 0

I have a current Android app that uses i18n via resources. res/values-es/strings.xml and so on. When I test it on a device with the language set to Espanol it pulls the correct resources, from the values-es file, but the accent characters are way out of whack.

For example, I want to use the lowercase o with an accent (ó). I have tried with the actual character in the strings.xml file (using the character map on Ubuntu to create the string) and with the entity, in either case it comes out like some other character set accent I don’t recognize:

enter image description here

The same character looks perfect WITHIN strings.xml when using many different text editors. And the file is UTF-8 (tried recreating it with the Android “wizard” tool in Eclipse to make sure).

strings.xml

   <?xml version="1.0" encoding="utf-8"?>
    <resources>
            <string name="label_app_version">Versión</string>
    </resources>

Now I’ve used French, and German before in other Android apps, with all sorts of accents, and haven’t seen this problem, so I’m entirely confused at the moment. What am I doing wrong this time?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T02:59:53+00:00Added an answer on May 23, 2026 at 2:59 am

    I finally solved this one. I was using a font and calling setTypeface earlier in the code. The font I’m using must not have the special characters needed for the other languages. I need to check to make sure my user’s are using a locale that my font supports before setting the font.

    I should have realized this and checked it earlier.

    So the bottom line is this, if you get strange results with certain characters in different locales, make sure you’re not using fonts that don’t support those characters. Fall back to not using a font (don’t call setTypeface) and test that way.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My test app that finds current location of the device is working fine in
I have an Android app that can be downloaded from the Google market and
I have a problem that I want to create an Android App which captures
I have a screen that uses tabs in my android application. There is a
I am writing an Android app with two entry points that have intent filters
in my android app, I have a button that leads to an activity which
I have an Android App that is published in a 'free' and 'pro' version.
We have an Android app that periodically polls for data and updates the display.
I have an android app with a Business Object (let's call it SuperClass) that
I have current a developed app which I am going to submit in just

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.