Have you tried using the web encoding description?  Don't currently use soap
but would try something like:

my $Ticket = $RPC->Dispatch(
        $User, $Pw,
    'TicketObject', 'TicketCreate',
            TN => $TicketID,
        Title => 'öäü', # web encoding of öäü
        Queue => 'Raw',                # or QueueID => 123,
        Lock => 'unlock',
        Priority => '3 normal',         # or PriorityID => 2,
        State => 'new',                # or StateID => 5,
        CustomerNo => '123465',
        CustomerUser => '[EMAIL PROTECTED]',
        OwnerID => 1, # new owner
        ResponsibleID => 1, # new responsible
        UserID => 1,
);

Have no way of testing but should be worth a shot.

Greg Horne
gehorne
geh


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Sven Waibel
Sent: Tuesday, August 14, 2007 2:32 AM
To: [email protected]
Subject: [dev] Encoding via SOAP


Hi,

i want to create a ticket with umlauts in the title via SOAP.

Here is a code snippet:

my $Ticket = $RPC->Dispatch(
        $User, $Pw,
    'TicketObject', 'TicketCreate',
            TN => $TicketID,
        Title => 'öäü',
        Queue => 'Raw',                # or QueueID => 123,
        Lock => 'unlock',
        Priority => '3 normal',         # or PriorityID => 2,
        State => 'new',                # or StateID => 5,
        CustomerNo => '123465',
        CustomerUser => '[EMAIL PROTECTED]',
        OwnerID => 1, # new owner
        ResponsibleID => 1, # new responsible
        UserID => 1,
);

The result of the ticket creation is, that the characters are not umlauts.
Charset is set to iso-8859-15, because i need the € sign.

When i create a ticket with umlauts in OTRS, the characters are right.

Could anybody give me a hint to get the signs into OTRS?

Thanks
Sven

--
===============================================================
imbus AG, Kleinseebacher Str. 9, 91096 Möhrendorf, DEUTSCHLAND
Tel. +49 9131 7518-0, Fax +49 9131 7518-50
[EMAIL PROTECTED] http://www.imbus.de

imbus AG, Unter der Linde 16, 80939 München, DEUTSCHLAND
Tel. +49 89 3219909-0, Fax +49 89 3219909-50
[EMAIL PROTECTED] http://www.imbus.de

Vorsitzender des Aufsichtsrates: Wolfgang Wieser
Vorstand: Tilo Linz, Bernd Nossem, Thomas Roßner, Jörg Schulten
Sitz der Gesellschaft: Möhrendorf, München
Registergericht: Fürth/Bay, HRB 8365
---------------------------------------------------------------
imbus Rhein-Main GmbH, Zanggasse 6, 65719 Hofheim, DEUTSCHLAND
Tel. +49 6192 92192-0, Fax +49 6192 92192-50
[EMAIL PROTECTED] http://www.imbus.de

Geschäftsführer: Frank Schmeißner, Jörg Schulten
Sitz der Gesellschaft: Hofheim
Registergericht: Frankfurt am Main, HRB 52155
===============================================================

_______________________________________________
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

_______________________________________________
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