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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:23:00+00:00 2026-05-27T04:23:00+00:00

I am working on inserting non-English characters in the database which is UTF-8 enabled.

  • 0

I am working on inserting non-English characters in the database which is UTF-8 enabled.
I am able to insert non-English characters in the database. When I insert the URL (it passes through response of JSP and because UTF8 encoding is set, it’s converted to UTF8 format)

“1”

http://heenaparekh.com/category/%E0%AA%AF%E0%AA%BE%E0%AA%A4%E0%AB%8D%E0%AA%B0%E0%AA%BE%E0%AA%AA%E0%AB%8D%E0%AA%B0%E0%AA%B5%E0%AA%BE%E0%AA%B8/

it appears correctly in database table as

“2”

http://heenaparekh.com/category/યાતરાપરવાસ

But when I am trying to select the value with same string “1” which I used for inserting in the database (without passing through request and response of JSP) :

When the select statement is run with the link as same URL “1”, it is converted to URL “2” by request of JSP.

When I want to select the rows with this URL, I am not able to extract as I am not able to convert URL “1” to URL “2” in my JSP application and I don’t need to shift to different page so I have tried the following methods to convert it into URL “2” format:

I have tried converting my string to UTF-8 format but it’s not helping. String is printed to be same. When I convert it using Entities class of Nutch to UTF8 format then also it is not fetching results, maybe as UTF8 conversion by response of JSP and Entities class are different.

Please help me how to bring both the URLs to same format so that I can extract it from the database.

  • 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-27T04:23:00+00:00Added an answer on May 27, 2026 at 4:23 am

    You need to URL-unencode rather than “UTF-unencode” the string. Internally, Java stores strings as UTF-16, but that doesn’t matter for your purposes. Try the java.net.URLDecoder.decode(String, String) method.

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

Sidebar

Related Questions

I have problems with inserting some Chinese characters into the mysql database. It is
I'm having trouble working this out for inserting input values into database. I have
I've tried working with OrientDB but it seems inserting to the database is not
I'm working on a project that requires a fair bit of inserting/updating rows in
I'm working with the Office Interop and having trouble inserting page breaks in Excel.
I'm working on a online game. I got some problems with inserting new data
I'm working on a winform app and am interating through a checkboxlist to see
Working with python interactively, it's sometimes necessary to display a result which is some
I am working on inserting data into our UniData server from .net. I have
I am working on a very basic NHibernate 3.2 task, inserting records into existing

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.