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

Reply via email to