Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Foreign characters not displaying correctly in user interfaces

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Foreign characters not displaying correctly in user interfaces


Chronological Thread 
  • From: Richard James <>
  • To: "" <>
  • Subject: [grouper-users] Foreign characters not displaying correctly in user interfaces
  • Date: Mon, 28 Mar 2011 17:04:19 +0100
  • Accept-language: en-US, en-GB
  • Acceptlanguage: en-US, en-GB

Hi,

We've recently come across a problem with foreign characters (most notably
accented characters) not displaying correctly in the main Grouper UI and the
Lite UI. It replaces these characters with a question mark as shown in the
attached screenshot. I saw a post in the mailing list from February last year
(https://lists.internet2.edu/sympa/arc/grouper-users/2010-02/msg00012.html)
which discussed possible solutions to rectify the problem, unfortunately we
have not been able to come up with a solution. I have tried amending the
following files to use UTF-8, unfortunately although the changes are
reflected in the source code and in the browser meta data, the character is
still displayed incorrectly.

edu.internet2.middleware.grouper.ui.util.HttpContentType
grouper.html
head.jsp
template.jsp

The characters are displayed correctly in the database (mysql), the collation
for the column is set to utf8_unicode_ci. I've tried explicitly setting a
LANG environment variable to en_GB.UTF-8 on the server, and also in the
tomcat start-up script in case there was a conflict at the end, but again to
no avail.

A few little tests I tried to test behaviour was to, via the main UI, change
a name of group to include an accented character, i.e. tást. This displays
correctly in the UI, but if you look in the database it is represented by
tást.

I was wondering if anyone else has come across this issue? And if so if can
you suggest how we can overcome this problem.

Unfortunately within the subject search in the lite UI, the accented
character does also cause an xml load error (screenshot attached). This
happens when searching for a user where the name contains an foreign
character.

Thanks

Richie


Richard James
Infrastructure Systems Administrator
ISS Systems Architecture
Newcastle University


Attachment: foreignchars.jpg
Description: foreignchars.jpg




Archive powered by MHonArc 2.6.16.

Top of Page