Hi Mikhail,
On Sat, Feb 21, 2004 at 01:08:47AM +0200, Mikhail Kravchuk wrote:
> I use for storage of Customer Users LDAP (openldap).
> Records in LDAP are stored in the coding utf-8.
>
> When the user having entered the a login and the password is included into
> system, it sees a line:
> Welcome "givenname" "sn" (e-mail address)
>
> "givenname" and "sn" are in the coding utf-8, though
> $Self->{DefaultLanguage} = 'ru';
> $Self->{DefaultCharset} = 'cp1251';
>
> I.e. "givenname" and "sn" it is not dependent from DefaultCharset have the
> coding utf-8.
>
> How to make, what "givenname" and "sn" at a conclusion to the screen changed
> the coding on DefaultCharset?
There are two ways.
a) use utf-8 as default charset for your system ($Self->{DefaultCharset} = 'utf-8';
b) Update Kernel/System/CustomerUser/LDAP.pm from CVS and see
http://doc.otrs.org/cvs/en/html/customer-user-backend.html#AEN775
There are SourceCharset and DestCharset with the current cvs
Kernel/System/CustomerUser/LDAP.pm module.
$Self->{CustomerUser} = {
Name => 'LDAP Backend',
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
# ldap host
Host => 'bay.csuhayward.edu',
[...]
# if your frontend is e. g. iso-8859-1 and the charset of your
# ldap server is utf-8, use this options (if not, ignore it)
SourceCharset => 'utf-8',
DestCharset => 'iso-8859-1',
[...]
},
# customer uniq id
CustomerKey => 'uid',
[...]
> Regards,
> Mikhail Kravchuk
> Entri ltd.
Martin Edenhofer
--
((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg
http://www.otrs.de/ :: Manage your communication!
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting f�r Ihr OTRS System?
=> http://www.otrs.de/