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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:42:13+00:00 2026-06-17T17:42:13+00:00

I have a form, which will be submitted to Struts Action and will get

  • 0

I have a form, which will be submitted to Struts Action and will get processed and returns output.

However the input data has special characters like “Louvière”, if users submits the form, In the back end, Struts fetching this value as “La Louvi�re”.

How do i handle this situation as the input should accept specially Euro characters.

in the jsp page header I am encoding as

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

and form defined like

<s:form id="myform" action="myAction" method="POST">
  • 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-17T17:42:14+00:00Added an answer on June 17, 2026 at 5:42 pm

    By default the encoding equals the encoding of the document containing the <form> element. Hence, either change the charset instruction of the document containing the <form> like so

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    

    Or add the accept-charset attribute to the form element like so:

    <s:form id="myform" action="myAction" method="POST" accept-charset="utf-8">
    

    The browser should then use the declared charset when submitting the POST request.

    Sidenote, the Euro symbol (€) is not part of iso-8859-1 but of iso-8859-15.

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

Sidebar

Related Questions

I have an HTML form which, when submitted by the user, will call a
i have an form which will send some data to an php file ,
I have a form which is submitted using a link. However, when I try
I have a asp.net web form which will submit information to come as emails.
I have a form where you may press a button which will give you
I have a form which have many check boxes in it. User will check
I have created a macro for excel which will pop up form that contains
I have a form with 2 buttons, that depending on which is selected will
I have a form which has a RichTextBox docked to the left and DataGridView
I have a form which POST's its data via AJAX: $.ajax({ type: POST, url:

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.