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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T22:19:25+00:00 2026-06-10T22:19:25+00:00

I have got problem while inserting some data in polish language(characters like ąćęłóżź) into

  • 0

I have got problem while inserting some data in polish language(characters like ąćęłóżź) into table. I’m getting some strange chars in table’s. In jsp files I have set page coding to utf 8.
Mysql worbench character-set-server set to utf8 and database collation to utf8_polish_ci.
I have also set windows enviroment variable JAVA_TOOL_OPTIONS to -Dfile.encoding=UTF8

  • 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-10T22:19:27+00:00Added an answer on June 10, 2026 at 10:19 pm

    You’re not exactly descriptive as to which "strange chars" you’re seeing, but I’ll assume that you actually mean Mojibake such as ÄÄÄÅóżź instead of ąćęłóżź and thus not question marks such as ??????? instead of ąćęłóżź.

    You need to invoke request.setCharacterEncoding("UTF-8") before you collect POST request parameters by request.getParameter(name), otherwise the server platform default one will be used to decode them from the query string, which is often ISO-8859-1 and not UTF-8.

    The best place to set the request character encoding is a servlet filter which is mapped on an URL pattern covering all POST requests.

    See also

    • Unicode – How to get the characters right?
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Parsing some data and inserting it into 3 tables from .NET. Using Table Valued
i have a problem while loading a UITableView on UITabBarController, i got this error
I have the following code, but i got a problem. Within my While, a
So I have a tiny problem. I got help here a while ago about
I have got a strange problem about in_array recently which I cannot understand. e.g.
I have got very big problem because I would like to get more information
The problem is: I have got a table of columns (A, B, C) where
I have a table data like this: <table class=tablesorter id=dea> <thead> <tr> <th class=header
I've got a problem with XPathSelectElement while reading some xml-lines.... the function handleEachSession is
I have some problem while trying to use the schemagen tool from JAXB library

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.