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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T20:48:41+00:00 2026-05-12T20:48:41+00:00

I have a simple jsp form that the customer uses to send us emails.

  • 0

I have a simple jsp form that the customer uses to send us emails. Though on some occasions the emails come through incorrectly formatted with the text =?ISO-8859-1?Q? sporadically displayed throughout the text of the email.

I know that ISO-8859-1 is a character encoding though I am not sure how this error is occurring and have been unable to reproduce this error. I have tried to fill out the form with different character encoding selected using Firefox but still cant reproduce. I have tried to use a laptop with Chinese Win XP language settings to fill out the form but also unable to reproduce this error.

Has anyone seen this error or have any ideas how I could reproduce this this?

Thanks for your comments – I am still looking for a way to reproduce this bug or a reason to why its happening,

the jsp code is straightforward (below) used within a portlet in weblogic 9

<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="/WEB-INF/struts-adapter-html.tld" prefix="html"%>
<%@ page  import="java.lang.String" %>
<html:html>
<html:head>
    <title>Feedback Form</title>
</html:head>
<html:body> 
    <html:form action="/emailFeedback">
            <label>First name </label>
            <html:text property="forename"/>
            <label>Surname </label>
            <html:text property="surname"/>
            <label>telephone number </label>
            <html:text property="telephonenumber"/>
            <label>Zip code</label>
            <html:text property="zipcode"/>
            <label>DOB (MM/DD/YYYY)</label>
            <html:text property="dob" />
            <label>Email </label>
            <html:text property="email"/>
            <label>Confirm Email </label>
            <html:text property="confirm_email"/>
            <label>Subject</label>
            <html:selectproperty="category">
                <html:option value="">select &gt; &gt;</html:option>
                <html:option value="Test1">Test1</html:option>
                <html:option value="Test2">Test2 Payments</html:option> 
                <html:option value="Test3">Test3</html:option>
            </html:select>
            <html:textarea property="feedback" cols="40" rows="7" />
            <input value="Submit your query" type="submit">
        </html:form>
</html:body>
</html:html>

The email incorrect email format is below (cleaned of personal data!)

=?ISO-8859-1?Q?=0A=0A______firstname:=09=09tes?= =?ISO-8859-1?Q?t=0A______lastname:=09=09KRA=0A___?= =?ISO-8859-1?Q?___Email:=09=09sampleemail@yaho?= =?ISO-8859-1?Q?o.fr=0A______DOB:=09=09=09=0A______?= =?ISO-8859-1?Q?telephonenumber:=05=09454465465456=0A?= =?ISO-8859-1?Q?______zipcode:=09=09=0A______T?= =?ISO-8859-1?Q?hree_No:=09=0907533644972=0A______Feedback:_____=0A______h?= =?ISO-8859-1?Q?sample_test_with_underscores_linking_words?= =?ISO-8859-1?Q?9_14.97=sample_test_with_underscores_linking_words?=

A sample email with the correct formatting is below for reference:

 firstnameame:  John    
 last ame:      Doe
 email:     john.doe@test.com
 DOB:       01/02/1957
 Telephone :    005465465465
 ZIPCODE:       91210
 Feedback:     
 Correctly formatted feedback.
  • 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-12T20:48:42+00:00Added an answer on May 12, 2026 at 8:48 pm

    The ISO-8859-1 encoding only covers the standard Latin characters, not Chinese. To cover Chinese as well as any other characters available at the world, better use UTF-8.

    Also see this article for more technical background information as well as several solutions how to configure your JSP/Servlet environment accordingly to use UTF-8.

    Hope this helps.

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

Sidebar

Related Questions

I have this simple Jsp page: <%@ page language=java import=java.awt.Color%> <% Color background =
Should simple JavaBeans that have only simple getters and setters be unit tested?? What
I have a simple webform that will allow unauthenticated users to input their information,
I have a simple 2-column layout with a footer that clears both the right
I have a simple little test app written in Flex 3 (MXML and some
I have one simple User Registration form. It includes name, age, sex & city.
I need to create a very simple application: I need to have a form
I have simple JSP: <jsp:directive.attribute name=severity type=java.lang.String required=true/> <jsp:directive.attribute name=currentSeverity type=java.lang.String required=true/> <c:if test=${severity
I have a really simple J2SE app that consists of a couple of classes.
I have a script that appends some rows to a table. One of the

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.