Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Lite UI 1.5.0: accented characters displayed as "?"

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Lite UI 1.5.0: accented characters displayed as "?"

Chronological Thread 
  • From: "GW Brown, Information Systems and Computing" <>
  • To: Chris Hyzer <>, ,
  • Subject: RE: [grouper-users] Lite UI 1.5.0: accented characters displayed as "?"
  • Date: Fri, 05 Feb 2010 15:22:26 +0000

I've tried replicating the problem. At first I added utf8 accented characters in group names - and they appeared OK. I tried altering a couple of labels in - one each for the two UIs, and they also worked.

I then checked the encoding for nav.propeties and it came up as Ansi (Notepad++). I switched it to utf8 (and had to fix the accented characters) and restarted the webapp. Now, somewhat bizarrely, I get problems. I did a quick Google on ResourceBundles and UTF8 and apparently this is a known problem: <>.

Dominique: what encoding have you got for your file?


--On 29 January 2010 01:36 -0500 Chris Hyzer

That's not good...

The problem is most things are done in Ajax, so setting the content type
isn't that simple (unless someone has a suggestion :) ). I have been
experimenting and haven't found something that works yet.

You can try these two tweaks below, but please let me know exactly where
you are having the problem, is it in the static content from the, is it in the data (e.g. group names), is it in the DHTML
controls (the combobox or menu), etc

Btw, my understanding is that we do want UTF-8, right?




/** xml content type */

/** text html content type */

/** application json content type */


/** xml content type */
TEXT_XML("text/xml; charset=UTF-8"),

/** text html content type */
TEXT_HTML("text/html; charset=UTF-8"),

/** application json content type */
APPLICATION_JSON("application/json; charset=UTF-8"),




<script type="text/javascript"


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

<script type="text/javascript"

-----Original Message-----
From: Dominique Petitpierre
Sent: Thursday, January 28, 2010 12:16 PM

Subject: [grouper-users] Lite UI 1.5.0: accented characters displayed as


in the process of configuring an installation of Grouper 1.5.0, I
encountered the following problem with the Lite UI:

The Lite UI does not display accented characters correctly in my
context: it displays them as "?" everywhere. No problem with the admin
Grouper UI.

I tried to modify "Content-Type" to append an explicit
";charset=iso-8859-1" in various places like
grouperUi/public/assets/js/jquery.js and to change 'encoding="UTF-8"'
to 'encoding="iso-8859-1"' at the beginning of
grouperUi/appHtml/grouper.html (to match what is done in
WEB-INF/jsp/template.jsp), but without success.

- What should I modify to have accented characters displayed
correctly in both the Lite UI and the admin Grouper UI?

Thanks in adavance for your help.

Meilleures salutations,
Dominique Petitpierre

Mr Dominique Petitpierre
Division Informatique
University of Geneva

GW Brown, Information Systems and Computing

Archive powered by MHonArc 2.6.16.

Top of Page