ich brauche mal dringend Hilfe zum Thema Umlaute in Tickets, Notizen, etc.
Dies scheint ein nicht allzu seltenes Problem zu sein. Leider habe ich im Forum keine zufriedenstellende Lösung gefunden.
Problem:
Ich habe den Zeichensatz über die SysConfig auf utf-8 gestellt.
Danach komme ich nicht mehr in den Adminbereich, es sei denn ich nehme den Eintrag
Code: Select all
$Self->{'DefaulCharset'}='utf-8';
Auftretende Fehlermeldung:
Daraufhin habe ich in das error-Log geschaut.Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Code: Select all
[Wed Nov 19 13:03:50 2008] index.pl: utf8 "\\xF6" does not map to Unicode at ../..//Kernel/System/Config.pm line 161, <$In> chunk 1.
[Wed Nov 19 13:03:50 2008] index.pl: Malformed UTF-8 character (unexpected non-continuation byte 0x72 , immediately after start byte 0xfc) in subroutine entry at /usr/lib/perl/5.8/Data/Dumper.pm line 179.
Code: Select all
144 Map => [
145 # note: Login, Email and CustomerID needed!
146 # var, frontend, storage, shown (1=always,2=lite), required, storage-type, http-link, readonly, http-link-target
147
148
149 [ 'UserSalutation', 'Salutation', 'salutation', 1, 0, 'var', '', 0 ],
150 [ 'UserFirstname', 'Firstname', 'first_name', 1, 1, 'var', '', 0 ],
151 [ 'UserLastname', 'Lastname', 'last_name', 1, 1, 'var', '', 0 ],
152 [ 'UserLogin', 'Username', 'login', 1, 1, 'var', '', 0 ],
153 [ 'UserPassword', 'Password', 'pw', 0, 0, 'var', '', 0 ],
154 [ 'UserEmail', 'Email', 'email', 1, 1, 'var', '', 0 ],
155 [ 'UserCustomerID', 'CustomerID', 'customer_id', 0, 1, 'var', '', 0 ],
156 [ 'UserComment', 'Comment', 'comments', 1, 0, 'var', '', 0 ],
157 [ 'ValidID', 'Valid', 'valid_id', 0, 1, 'int', '', 0 ],
158
159 # additional stuff
160 [ 'UserPhone', 'Phone', 'phone', 0, 0, 'var', '', 0 ],
161 [ 'UserMobile', 'Mobile', 'mobile', 0, 0, 'var', '', 0 ],
162 [ 'UserFax', 'Fax', 'fax', 0, 0, 'var', '', 0 ],
163 [ 'UserStreet', 'Street', 'street', 0, 0, 'var', '', 0 ],
164 [ 'UserZIP', 'Zip', 'zip', 0, 0, 'var', '', 0 ],
165 [ 'UserCity', 'City', 'city', 0, 0, 'var', '', 0 ],
166 [ 'UserCountry', 'Country', 'country', 0, 0, 'var', '', 0 ],
167 ],
Die restlichen Seiten gehen soweit.
Wenn ich nun beispielsweise eine Notiz zu einem Ticket hinzufüge, die Umlaute enthält, dann stehen die Umlaute auch korrekt in meiner Datenbank. In der Weboberfläche von OTRS werden allerdings die Umlaute anderes dargestellt: "äöü" wird zu "aou".
Um evtl. Nachfragen gleich vorzeubeugen:
Header der Seite steht auf UTF-8:
Code: Select all
Date: Wed, 19 Nov 2008 12:02:34 GMT
Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch
content-disposition: filename="AgentTicketZoom.html"
X-Powered-By: OTRS 2.3.2 - Open Ticket Request System (http://otrs.org/)
X-Wanted: I think you are smart. I'm looking for smart people!
Expires: Tue, 1 Jan 1980 12:00:00 GMT
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8;
Code: Select all
AddDefaultCharset UTF-8
Code: Select all
NLS_LANG=GERMAN_GERMANY.AL32UTF8
NLS_CHARACTERSET=AL32UTF8