Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Grouper UI character encoding problem

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Grouper UI character encoding problem


Chronological Thread 
  • From: Alain Fréhel <>
  • To: Chris Hyzer <>
  • Cc: "" <>
  • Subject: RE: [grouper-users] Grouper UI character encoding problem
  • Date: Tue, 27 May 2014 21:58:53 +0200

Yep, that made it. Problem solved.

Thanks Chris.

--
Alain Fréhel


Quoting Chris Hyzer
<>:

Here is what I did to make this work. 5 files need to be edited.

GrouperUiFilter.java

FROM:
servletRequest.setCharacterEncoding("UTF-8");

TO:

servletRequest.setCharacterEncoding("UTF-8");
response.setCharacterEncoding("UTF-8");


grouper.html (there are two of these)

FROM:

<head>

TO:

<head>

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

head.jsp

FROM:

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

TO:

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

template.jsp:

FROM:

<?xml version="1.0" encoding="iso-8859-1"?>

TO:

<?xml version="1.0" encoding="utf-8"?>


Can you do that, rebuild, and try it? :)

Thanks,
Chris


-----Original Message-----
From: Chris Hyzer
Sent: Friday, May 23, 2014 9:01 PM
To:
;


Subject: RE: [grouper-users] Grouper UI character encoding problem

I have a solution for you that works, but I'm on vacation until Monday evening, I will email you then, thanks, Chris
________________________________________
From: [] on behalf of Alain Fréhel []
Sent: Thursday, May 22, 2014 4:22 AM
To:

Subject: [grouper-users] Grouper UI character encoding problem

Hi,

I have an character encoding problem with Grouper 2.1.5. The Grouper UI
doesn't display correctly group attributes containing accents. Note that
the Grouper UI itself displays fine, the French translation of the UI
I'm using is displayed correctly. The problem occurs only on group
attributes (for example loader SQL queries): when I use a grouper loader
query containing accentuated characters, the query is correctly recorded
in the grouper database (in UTF-8), but the display is wrong (showing ?
instead of accents). If I save again this group without correcting these
characters, then the field is badly encoded is the database. So I guess
it's only a display problem in Grouper UI, but I couldn't find where I
missed something. Also, the same problem occurs on data from our LDAP
directory displayed in the UI.

Everything is this Grouper installation is configured to use UTF-8 (OS,
Tomcat, PostgreSQL database).

Any clue ?

Regards,

--
Alain Fréhel
Université Sorbonne Nouvelle - Paris 3





--
Alain Fréhel
Sous-directeur Recherche, Développement, Réalisation et Exploitation
Direction des systèmes d'information et de la communication
Université Sorbonne Nouvelle - Paris 3
13, rue de Santeuil 75005 Paris France
Tél. : 01 45 87 79 33



Archive powered by MHonArc 2.6.16.

Top of Page