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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T04:39:42+00:00 2026-06-14T04:39:42+00:00

Im using a generic page header across all my JSPs and pass properties which

  • 0

Im using a generic page header across all my JSPs and pass properties which may be in French or English, however when French properties are passed through with accents i get ? or smililar incorrect characters

<c:set var="subTitle" value="${data}"/>     

<c:import charEncoding="UTF-8" url="../menu/header.jsp" >
        <c:param name="systemTitle" value="${label}" />
    <c:param name="subTitle" value="${subTitle}" />
</c:import>

How do i encode the parameters so they keep their accented characters. UTF-8 doesnt seem to be working unless i have referenced it incorrectly

  • 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-14T04:39:43+00:00Added an answer on June 14, 2026 at 4:39 am

    The <c:import charEncoding> merely instructs the <c:import> what character encoding it should use to read the target resource. It doesn’t instruct what character encoding it should use to write the read characters to the response body. Instead, the JSP page’s own character encoding is been used for that. You can set it by adding the following line to the very top of the JSP:

    <%@page pageEncoding="UTF-8"%>
    

    Note that you can also set it applicationwide (which is recommended if you want World Domination) by adding the following entry to web.xml:

    <jsp-config>
        <jsp-property-group>
            <url-pattern>*.jsp</url-pattern>
            <page-encoding>UTF-8</page-encoding>
        </jsp-property-group>
    </jsp-config>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using a generic error page using ASP.NET's <customErrors> directive. <customErrors mode=On defaultRedirect=500.html
This is my Iservice1.cs page using System; using System.Collections.Generic; using System.Configuration; using System.Data; using
I am using generic code (from the iOS Fireworks demo) in a slightly changed
About five years ago I started using Generic lookup Tables for applications I was
I made in my web a menu using generic_view - simple 'django.views.generic.list_detail.object_list' in urls.py
I m populating data for different entities into set of lists using generic lists
I'm trying to streamline my existing repos by using a generic repo I can
I'm trying to implement the repository pattern using a generic repository like the one
AssemblyInstaller.Install expects a System.Collections.IDictionary. Am I right to be 'allergic' to using non-generic collections
So, I am kind of stumped. I have been using a generic repository, and

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.