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

  • Home
  • SEARCH
  • 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

I have the current basic structure for each domain object that I need to
My current problem is that I have a JFrame with a 2x2 GridLayout. And
I have a requirement on my current project (a Flex app which will be
At my current job we have a CMS system that is .NET/SQL Server based.
I am working on an Android app that utilizes the Google Maps API MapView,
Is this possible in an Android app? I want to make it so that
I am writing an Android app that talks to a server. The server has
I hope I can explain this properly. I'm making an android app that, when
We have a current application where user login credentials are stored in a SQL
I have a current system which is build as a Windows Application, and does

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.