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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T01:21:12+00:00 2026-06-09T01:21:12+00:00

We are running into problems caused by the bug described here: https://bugs.java.com/bugdatabase/view_bug?bug_id=6183404 I have

  • 0

We are running into problems caused by the bug described here: https://bugs.java.com/bugdatabase/view_bug?bug_id=6183404

I have already implemented a fix using a custom charset to fix the incorrect mappings.
However this still does not fix the problem for one Java application we are using, as that is hard-coded to use standard "GBK" charset.

Is there any way using java.nio.charset.spi.CharsetProvider to override existing, standard charsets?

  • 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-06-09T01:21:13+00:00Added an answer on June 9, 2026 at 1:21 am

    Based on this code in Charset, it doesn’t look like you can override the standardProvider since it gets searched before any additional ones.

    if ((cs = standardProvider.charsetForName(charsetName)) != null ||
        (cs = lookupExtendedCharset(charsetName))           != null ||
        (cs = lookupViaProviders(charsetName))              != null)
    

    If the application stores the charset name in a field, you could do something nasty with reflection to change it before the application starts up.

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

Sidebar

Related Questions

I'm using jsio (jslibs - http://code.google.com/p/jslibs/wiki/jsio ) and am running into a bug on
I am running into problems when I try to run the jar file created
I'm running into problems implementing statuses for a model. This is probably due to
I am running into problems where some of our data stores are seeing a
I'm running into problems with my Sieve of Eratosthenes. I wanted to write a
I am a Symfony2 newbie running into problems with edit-forms and doctrine. I seem
I'm new to parallel computing and am running into problems with server/client connections. I
Hi guys I'm trying to integrate the tinymce plugin however I'm running into problems
I'm running into some problems using my .NET 4.0 libraries in .NET 2.0 applications.
I am working on a custom SSO solution and running into some problems with

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.