hi!

sorry for the late feedback to the charset mappings.
i've tried out:

1.
  $Self->{DefaultCharset} = 'utf-8';
  
2.
  $Self->{CustomerUser2} = {
    Name => 'LDAP Backend',
    SourceCharset => 'utf-8',
    DestCharset => 'iso-8859-1',
    ...
  }
  $Self->{DefaultCharset} = 'utf-8';

3. dito with
  $Self->{DefaultCharset} = 'latin1';

in 1. you can search for user 'm�ller' but the search list
contains utf8 chars.
in 2. and 3. searching for 'm�ller' gives me no result.

my fault?

(tested with 1.2.2. and latest cvs)

On Mon, Mar 15, 2004 at 05:50:44PM +0100, Robert Kehl wrote:
> From: "Robert Kehl" <[EMAIL PROTECTED]>
> To: "Development community of OTRS" <[EMAIL PROTECTED]>
> Date: Mon, 15 Mar 2004 17:50:44 +0100
> X-Mailer: Microsoft Outlook Express 6.00.2800.1106
> Subject: Re: [dev] otrs-1.2.2 Customer ldap backend: missing utf8 support
> 
> On Monday, March 15, 2004 3:47 PM
> Stephan Lauffer <[EMAIL PROTECTED]> wrote:
> > we've stored our "customers" in openldap. there we need to use
> > utf8 for cn, sn and givenname. otrs-1.2.2 seems not to convert
> > utf8 into latin1 (or whatever).
> 
> If you tell it to, it will:
> 
> > q1 is:
> > is there a peace of code (from cvs/ devel) which supports the
> > utf8/latin1 transformation or should i go on and write my own "hack"?
> 
> utf-8 support is possible in two ways:
> 
> Set these in Config.pm:
> #   $Self->{DefaultCharset} = 'iso-8859-15'; # iso-8859-15 is default
>     $Self->{CustomerUser} = {
>             # [...] #
>             SourceCharset => 'utf-8',
>             DestCharset => 'iso-8859-15',
>             # [...] #
>         },
> 
> Or set these:
>    $Self->{DefaultCharset} = 'utf-8';
>     $Self->{CustomerUser} = {
>             # [...] #
> #            SourceCharset => 'utf-8',
> #            DestCharset => 'utf-8',
>             # [...] #
>         },
> 
> If everything fails, uncomment the last two mappings, at least try it.
> This should work for iso-8859-1:
> 
>     $Self->{DefaultCharset} = 'iso-8859-1';
>     $Self->{CustomerUser} = {
>             # [...] #
>             SourceCharset => 'utf-8',
>             DestCharset => 'iso-8859-1',
>             # [...] #
>         },
> 
> I know no answers to the other questions right now, sorry.
> 
> Regards,
> 
> Robert Kehl
> 
> -- 
> ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg
>          http://www.otrs.de/ :: Tel. +49 (0)6172 4832388
> _______________________________________________
> OTRS mailing list: dev - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/dev
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

-- 
Liebe Gruesse, with best regards
Stephan Lauffer

[ Pedagogical University Freiburg - Germany ]
[ http://www.ph-freiburg.de/zik/            ]
[ Fon/ Fax: +49 761 682 -459/ -486          ]
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Reply via email to