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 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

Related Questions

I recently realized that I don't fully understand Java's string encoding process. Consider the
I try to set the encoding of my editor to UTF-16. (Java String store
I'm writing a program that uses java.net.URLDecoder.decode(String value, String encoding) . Apparently, this method
Is there a way to change the encoding used by the String(byte[]) constructor ?
How to calculate CRC_B encoding in C# as described in ISO 14443? Here is
I tried to use java.io.FileReader to read some text files and convert them into
In Java, I have a String and I want to encode it as a
I create the following for truncating a string in java to a new string
I have a problem with encoding in java applet. When I am running it
Encoding issues are among the one topic that have bitten me most often during

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.