diff options
author | Buchan Milne <buchan@mageia.org> | 2011-02-15 23:01:21 +0000 |
---|---|---|
committer | Buchan Milne <buchan@mageia.org> | 2011-02-15 23:01:21 +0000 |
commit | 2bf1d4b2e19579a84d61b1d05b398eacfcf50ce2 (patch) | |
tree | bd6706a2aad9c8c845d6531a459a55afc94daeaa /lib/CatDap/Controller/user.pm | |
parent | e245fa424e6a6f7dd3a1da5e56a6b90bf7780d6f (diff) | |
download | identity-2bf1d4b2e19579a84d61b1d05b398eacfcf50ce2.tar identity-2bf1d4b2e19579a84d61b1d05b398eacfcf50ce2.tar.gz identity-2bf1d4b2e19579a84d61b1d05b398eacfcf50ce2.tar.bz2 identity-2bf1d4b2e19579a84d61b1d05b398eacfcf50ce2.tar.xz identity-2bf1d4b2e19579a84d61b1d05b398eacfcf50ce2.zip |
Fix display of non-ascii characters (may need some work in admin for multi-valued attributes)
Diffstat (limited to 'lib/CatDap/Controller/user.pm')
-rw-r--r-- | lib/CatDap/Controller/user.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CatDap/Controller/user.pm b/lib/CatDap/Controller/user.pm index b3edb32..2d0ba04 100644 --- a/lib/CatDap/Controller/user.pm +++ b/lib/CatDap/Controller/user.pm @@ -202,6 +202,7 @@ sub index :Path :Args(0) { next if ($attr eq "objectClass"); next if grep /$attr/,@{${$c->config}{'Controller::User'}{'skip_attrs'}}; my @vals = $entry->get_value($attr); + foreach (@vals) { $_ = Encode::decode_utf8( $_ ); } $attrdef = $schema->attribute($attr) or die ("getting schema failed: $!"); my %valhash = ( name => $attr, |