Accents in LDAP lookup

Moderator: crythias

Locked
ugob
Znuny newbie
Posts: 52
Joined: 29 Jul 2011, 22:15
Znuny Version: 3.0

Accents in LDAP lookup

Post by ugob »

Hi,

We use an external backend for customer which is LDAP (AD). It has been working well for ages, except that the accentuated characters don't display correctly. I waited before posting to see if it would be fixed in version 5 but it isn't... The accents are not displayed correctly in the "Customer Information" section in the left-bottom part of AgentTicketZoom, in the CustomerName of AgentTicketSearch, in the "Name" field of AdminCustomerUser, and maybe in other sections... anywhere the information is displayed directly from LDAP queries. Is there a solution to this problem?

Thanks,
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Accents in LDAP lookup

Post by jojo »

yes, use utf8 in your configuration...

Questions: is OTRS set to utf8
is the LDAP set to utf8
is there any characterset conversion switched on in LDAP configuration of OTRS
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
ugob
Znuny newbie
Posts: 52
Joined: 29 Jul 2011, 22:15
Znuny Version: 3.0

Re: Accents in LDAP lookup

Post by ugob »

jojo wrote:yes, use utf8 in your configuration...

Questions: is OTRS set to utf8
$Self->{'DefaultCharset'} = 'utf-8';
jojo wrote:is the LDAP set to utf8
How would I check that?
jojo wrote:is there any characterset conversion switched on in LDAP configuration of OTRS
I don't think so, how would I check that?
ugob
Znuny newbie
Posts: 52
Joined: 29 Jul 2011, 22:15
Znuny Version: 3.0

Re: Accents in LDAP lookup

Post by ugob »

The accents are also not displayed correctly on a reply.
ugob
Znuny newbie
Posts: 52
Joined: 29 Jul 2011, 22:15
Znuny Version: 3.0

Re: [SOLVED] Accents in LDAP lookup

Post by ugob »

I think I found the solution:

I followed this post: viewtopic.php?t=7303#p28736 and added this in my Params section:

Code: Select all

            DestCharset => 'utf-8',
            SourceCharset => 'utf-8',
Locked