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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T11:49:00+00:00 2026-05-11T11:49:00+00:00

When encoding a java String to Latin-1 (ie. charset ISO-8859-1) I currently convert the

  • 0

When encoding a java String to Latin-1 (ie. charset ISO-8859-1) I currently convert the German symbol β (‘\u03B2’) to ß (‘\u00DF’) before performing the encoding. I’m trying to avoid a question mark in the encoding where possible.

Can anyone suggest other un-encodable characters which can be replaced an encodable character? Or better yet, a Java library that does it for me?

Update: A bit of background: I have a Java program which exports it’s data to CSV files so they can be read into a thrid-party application. A customer has complained that some characters are not converted – he gave me the example of ‘straβe’. Although technically β is the greek symbol for Beta, a quick google search shows quite a few people use it to mean ß.

  • 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. 2026-05-11T11:49:01+00:00Added an answer on May 11, 2026 at 11:49 am

    First, are you sure your input text is correctly entered or encoded?

    u+03B2 is ‘GREEK SMALL LETTER BETA’, not German eszett.

    u+00DF is eszett or ‘LATIN SMALL LETTER SHARP S’

    Java can map the latter to ISO-8859-1 because it’s defined in http://unicode.org/Public/MAPPINGS/ISO8859/8859-1.TXT .

    There is no way to solve this problem generally – the whole point of Unicode is that it contains (lots) of characters that simply cannot be represented in ISO-8859-* .

    I suggest producing a list of all unicode characters in your data that are not listed in the http://unicode.org/Public/MAPPINGS/ISO8859/8859-1.TXT document. Then for each unmapped character, you will have to choose appropriate substitutions from the ISO-8859-1 range by hand/eye.

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

Sidebar

Ask A Question

Stats

  • Questions 164k
  • Answers 164k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Basic HTML Anchor Element: <a href="http://www.w3schools.com/" target="_blank">Visit W3Schools!</a> ASP.NET WebForms… May 12, 2026 at 12:24 pm
  • Editorial Team
    Editorial Team added an answer Try explicitly setting the proxy. If you don't have a… May 12, 2026 at 12:24 pm
  • Editorial Team
    Editorial Team added an answer Try wrapping all of the code in this: $(document).ready(function() {… May 12, 2026 at 12:24 pm

Related Questions

I'm experimenting with internationalization by making a Hello World program that uses properties files
I am trying to get a java.net.URI object from a String . The string
This one has me stumped. I've got a java.sql.ResultSet and I'm pulling string values
I have implemented a simple file upload-download mechanism. When a user clicks a file

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.