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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T02:04:33+00:00 2026-05-14T02:04:33+00:00

I have the follwing code inside a facelet page: <h:inputNumber value=bean.property> <f:convertNumber type=currency />

  • 0

I have the follwing code inside a facelet page:

<h:inputNumber value="bean.property">
    <f:convertNumber type="currency" />
</h:inputNumber

The converter is because there can be a kind of default value inside the input field, which comes from the bean property. Everything is rendered correctly. The value inside the input field is rendered with an “€” character (e.g. “1.453 €”.

When I submit the form there comes an error up:

"nameOfInputField" konnte nicht als ein Geldbetrag erkannt werden '304,00 â¬'

In english it is some like:

"nameOfInputField" could not be regognized as an amount of money '304,00 â¬'

Please have a look at the “€” character. It seems to be printed as “⬔. While it was rendered correctly before submitting the form, now it looks like “⬔ inside the error message and inside the input field.

All pages are encoded in UTF-8.

What is the reason for this error?
How can fix it?

Thanks in advance

  • 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-14T02:04:34+00:00Added an answer on May 14, 2026 at 2:04 am

    â¬

    This is typical for the € from an original UTF-8 source which is incorrectly been decoded using ISO-8859-1. Here’s a small snippet which demonstrates that:

    System.out.println(new String("€".getBytes("UTF-8"), "ISO-8859-1"));
    

    All pages are encoded in UTF-8.

    You’re likely talking about response encoding. You need to set the request encoding as well.

    To set the encoding for GET requests (basically: URI encoding), you need to consult the appserver specific documentation. As it’s unclear which one you’re using, here’s a Tomcat targeted example: <Connector URIEncoding="UTF-8" />. To set the encoding for POST requests, you need to create a simple filter which does request.setCharacterEncoding("UTF-8") if it is null. More background information and hints can be found in this article.

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

Sidebar

Related Questions

I have the following code inside the body of my index.php page: echo Begin
I have the following code inside a Makefile: # Root Path echo What is
In the following code I have placed anonymous structures inside of my class declaration
Let's say I have the following JSTL loop: <c:forEach items=${foos} var=foo varStatus=status> <c:out value=${processedFoo}/>
I have the following code which uses the System.Timers.Timer: // an instance variable Timer
I have the following code: myFunc(); bar(); myFunc() is making an ajax request I
I have the following code that I want to be able to loop every
I have the following code that responds to a button click, changes the view
I have the following code (compiler: MSVC++ 10): std::vector<float> data; data.push_back(1.0f); data.push_back(1.0f); data.push_back(2.0f); //
friends, i am using following code inside asyncTask public class AsycLoaderFromDbAndMapInjector extends AsyncTask {

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.