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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T11:29:16+00:00 2026-05-22T11:29:16+00:00

The Eula module from code.google.com works great but it doesn’t display Unicode characters (e.g.

  • 0

The Eula module from code.google.com works great but it doesn’t display Unicode characters (e.g. ©) for some reason.

I know that AlertDialogs are perfectly capable of displaying Unicode characters, because I do so in other dialogs in my app.

The only difference I have been able to find between Eula’s dialog and others is that the Eula.java dialog gets its string from a text file in the assets folder:

  private static CharSequence readEula(Activity activity) {
    BufferedReader in = null;
    try {
      in = new BufferedReader(new InputStreamReader(activity.getAssets().open(ASSET_EULA)));
      String line;
      StringBuilder buffer = new StringBuilder();
      while ((line = in.readLine()) != null)
        buffer.append(line).append('\n');
      return buffer;
    }
    catch (IOException e) {
      return "";
    }
    finally {
      closeStream(in);
    }
  }

That text file displays all Unicode characters in Notepad++, so I can only suspect InputStreamReader, BufferedReader or StringBuilder doing something to the string on its way from the assets file to the AlertDialog.

How can I make Eula.java display Unicode?

  • 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-22T11:29:17+00:00Added an answer on May 22, 2026 at 11:29 am

    Give InputStreamReader the encoding of the source data; this class transcodes data to UTF-16 character data.

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

Sidebar

Related Questions

I know there is a requirement in their EULA, but I heard about people
I read both iPhone and Google Map for iPhone EULA and want to implement
Sometimes software installers force you to scroll to the end of the EULA before
BCL Specifically, am I breaking the EULA by doing this?
Is it mandatory to have EULA for free android applications on Android Market. I
I am writing an installer which has a EULA, and then a dialog to
Somewhere in the web i found this version of EULA! You have no rights
I need a complete WiX script that can be build.It had Welcome EULA Install
I've several Visual Studio 9.0 Beta Program files in C:\ root directory: eula.1028.txt eula.1031.txt
I have a setup project that I'm working with and have added a EULA

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.