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 6797131
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:34:16+00:00 2026-05-26T18:34:16+00:00

I have a problem where the pound symbol is getting corrupted in the webview,

  • 0

I have a problem where the pound symbol is getting corrupted in the webview, even though when i am using utf-8 encoding. Its getting displayed as some A^£ (the cap is on top of A).
Here is the code iam using:

aboutustext = (WebView) findViewById(R.id.aboutustext);
    String text = "<div style='color:#878787; padding:5px 5px 5px 5px;'><p>Rathbone Brothers Plc, through its subsidiaries, is one of the UKs leading providers of investment management services for private clients, charities and professional advisers.</p>";
    text += "<p>Key facts about Rathbone Brothers Plc:</p>";
    text += "<ul><li>FTSE 250 listed company </li>";
    text += "<li><a href='http://www.rathbonesra2010.com' target='_blank'>Online 2010&nbsp;report and accounts</a></li>";
    text += "<li>A heritage dating back to 1742</li><li>11 offices across the UK with an offshore presence in Jersey</li>";
    text += "<li>170 experienced investment professionals</li><li>£16.36 billion of funds under management* </li><li>Over 35,000 clients</li>";
    text += "<li>Rathbone Investment Management Limited and Rathbone Pension&nbsp;&amp; Advisory Services Limited are authorised and regulated by the&nbsp;<a href='http://www.fsa.gov.uk/'>Financial Services Authority</a></li>";
    text += "</ul><p>Our success and reputation is built on the simple, but increasingly rare, commitment to superior client service as well as state-of-the-art administrative systems. We have no ties to banks or large financial institutions, giving you a whole-of-market and objective perspective on your investments. This, together with direct access to you investment manager, results in an investment portfolio that will meet your requirements.</p>";
    text += "<p>If you would like to know more about the funds which we offer, please visit the <a title='Rathbone Unit trust Management Website' href='http://www.rutm.com/' target='_blank'>Rathbone Unit Trust Management </a></p>";
        text += "<p>* Funds under management as of 30 June 2011</p></div>";

        try {
            aboutustext.loadData(URLEncoder.encode(text,"utf-8").replaceAll("\\+"," "),
                    "text/html", "utf-8");
        } catch (UnsupportedEncodingException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }

What could be the problem?

  • 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-26T18:34:17+00:00Added an answer on May 26, 2026 at 6:34 pm

    I think it could be a settings issue, did you set the encoding?

     WebSettings settings = myWebView.getSettings();
     settings.setDefaultTextEncodingName("utf-8");
    

    See documentation here

    This might be irrelevant but, You could always(if your problem is specific to the pound symbol) use &pound; in the html.

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

Sidebar

Related Questions

I have problem when creating a file in encoding 'utf-8' and reading it from
I have problem in some JavaScript that I am writing where the Switch statement
I have problem when I try insert some data to Informix TEXT column via
I have problem creating new instance of excel 2007 using VBA (from Access 2002).
I'm using BeautifulSoup to do some screen-scraping. My problem is this: I need to
I have problem with Uploadify: I log in the project using: FormsAuthentication.SetAuthCookie(myName, false); Then,
I have problem with passing variables through views. But, first some code // i
I have problem with $_POST data. Some fields are missing from input form when
I have my XML feed being created from an associative array. Using new DOMDocument('1.0','UTF-8');
I have problem with callbacks from other application thread. Dll is some kind of

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.