[dev] Encoding via SOAP

Sven Waibel sven.waibel at imbus.de
Tue Aug 14 08:31:47 GMT 2007


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 => 'customer at example.com',
        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
info at imbus.de http://www.imbus.de

imbus AG, Unter der Linde 16, 80939 München, DEUTSCHLAND
Tel. +49 89 3219909-0, Fax +49 89 3219909-50
info at imbus.de 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
info at imbus.de http://www.imbus.de

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



More information about the dev mailing list