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: Chris Hyzer <>
  • To: "" <>, "" <>
  • Subject: RE: [grouper-users] Lite UI 1.5.0: accented characters displayed as "?"
  • Date: Fri, 29 Jan 2010 01:36:14 -0500
  • Accept-language: en-US
  • Acceptlanguage: en-US

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 nav.properties,
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?

Thanks,
Chris

FILE1

edu.internet2.middleware.grouper.ui.util.HttpContentType

FROM:
/** xml content type */
TEXT_XML("text/xml"),

/** text html content type */
TEXT_HTML("text/html"),

/** application json content type */
APPLICATION_JSON("application/json"),


TO:

/** 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"),

FILE 2

webapp\grouperUi\appHtml\grouper.html

FROM:
<head>

<script type="text/javascript"
src="../public/assets/dhtmlx/dhtmlxcommon.js"></script>



TO:

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

<script type="text/javascript"
src="../public/assets/dhtmlx/dhtmlxcommon.js"></script>

-----Original Message-----
From: Dominique Petitpierre
[mailto:]

Sent: Thursday, January 28, 2010 12:16 PM
To:

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

Hello,

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



Archive powered by MHonArc 2.6.16.

Top of Page