Hi Michiel, I use the DB customer backend. I wanted to be sure, that it isn't any beginner's mistake or a known problem before sending it to the dev list. I you think it's better, I'll post it there.
Timo Rupp Leiter Entwicklung Huber Verlag für Neue Medien GmbH Lorenzstraße 29 D-76135 Karlsruhe Tel. +49 721 15118-0 Fax +49 721 15118-11 [email protected] www.huberverlag.de Huber Verlag für Neue Medien GmbH - high speed information Sitz Karlsruhe, Registergericht: Mannheim (HRB 110836) Ust.-Identnummer DE213372792, Geschäftsführer: Rainer Kölmel -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Michiel Beijen Gesendet: Mittwoch, 2. September 2009 09:54 An: User questions and discussions about OTRS. Betreff: Re: [otrs] German umlauts and customer auto completion Hi Timo, Actually these kind of issues are more suitable for the dev@ list than for the otrs@ list... Are you using LDAP or AD as the customer backend? Kindest regards, -- Michiel Beijen ((otrs)) :: OTRS AG :: Norsk-Data-Straße 1 :: 61352 Bad Homburg Phone: +31 (0) 6457 42418 :: Fax: +49 (0) 9421 56818 18 http://www.otrs.com/ :: Communication with success! Geschäftssitz: Bad Homburg Amtsgericht Bad Homburg, HRB 10751 Steuernummer: 003 240 97505 Aufsichtsratsvorsitzender: Burchard Steinbild Vorstand: André Mindermann (Vorsitzender), Martin Edenhofer NEU! ENTERPRISE SUBSCRIPTION - JETZT informieren und buchen! http://www.otrs.com/de/support/enterprise-subscription/ On Wed, Sep 2, 2009 at 08:37, Rupp Timo<[email protected]> wrote: > Hi, > > I've got a problem with the new auto completion for customers. Each time > either the already typed part of the name or one field of the suggested > cutomers contains a German umlaut (or other special chars) the suggestion box > doesn't appear. I think it's an IIS speciality :-) > > OTRS 2.4.3 / IIS 6.0 / MS SQL > > I already tried a few things... > > Add "escape" method here (AgentCustomerSearch.dtl) will fix the umlaut > problen in the search string, but all spaced will be double-encoded. Spaces > seem to be already encoded by YUI control. > > myAutoComp.generateRequest = function(sQuery) { > return "?Action=AgentCustomerSearch&Search=" + escape( sQuery ); > }; > > > Replace the code snipped that uses "Ascii2Html" (AgentCustomerSearch.pm) by > inserting "HTML::Entities::encode" into the following code. To get the > suggestion box to work I have to encode the plain value as well, so this hack > is not very good. > > push @Data, { > CustomerKey => $CustomerUserID, > CustomerValue => > HTML::Entities::encode($CustomerUserList{$CustomerUserID}), > CustomerValuePlain => > HTML::Entities::encode($CustomerValuePlain), > }; > > With these hacks the box appears each time it should but it produces new > problems: the search string must not contain spaces and the plain value in > result array is destroyed. > > Encoding in DB and HTML pages of OTRS UI are correct. > > I hope to get some suggestions to fix this. An IIS configuration issue? THX! > > Timo Rupp > Leiter Entwicklung > > Huber Verlag für Neue Medien GmbH > Lorenzstraße 29 > D-76135 Karlsruhe > Tel. +49 721 15118-0 > Fax +49 721 15118-11 > [email protected] > www.huberverlag.de > > Huber Verlag für Neue Medien GmbH - high speed information > Sitz Karlsruhe, Registergericht: Mannheim (HRB 110836) > Ust.-Identnummer DE213372792, Geschäftsführer: Rainer Kölmel > --------------------------------------------------------------------- > 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 > > NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! > http://www.otrs.com/en/support/enterprise-subscription/ > --------------------------------------------------------------------- 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 NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/ --------------------------------------------------------------------- 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 NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
