[solved] German Umlaute "ÄÖÜßäöü" get converted

Moderator: crythias

Post Reply
shostakovich
Znuny advanced
Posts: 146
Joined: 11 Apr 2011, 08:11
Znuny Version: 3.2.5

[solved] German Umlaute "ÄÖÜßäöü" get converted

Post by shostakovich »

Hi,

we've got massive problems regarding Umlauts "ÄÖÜßäöü" - in the whole UI, the get converted before the reach the Clients web browser. I.e. "Das ist Käse" will be shown as "Das ist Kase".

OTRS: utf-8 is set as charset (at core->framework)
Apache: "AddDefaultCharset utf-8" is set
Database: also utf-8

The database entries still contain utf-8 content.

This morning, Umlauts were shown in index.pl?Action=AgentTicketStatusView - then, for other reasons, I did an apache stop / .otrsDeleteCache / Apache start. Now no Umlauts are shown any more in index.pl?Action=AgentTicketStatusView.

I'm sure this must be something about otrs.DeleteCache, but I cannot see why deletion of Cache will coincident with the conversion of Umlauts.

otrs.DeleteCache has:

Code: Select all

$CommonObject{EncodeObject} = Kernel::System::Encode->new(%CommonObject);
so now I guess, Kernel::System::Encode from now on does the conversion on the fly, but I'm not into that code too much.

Maybe there's ideas out there? :)

TIA
Michael
Last edited by shostakovich on 11 Oct 2011, 16:14, edited 1 time in total.
shostakovich
Znuny advanced
Posts: 146
Joined: 11 Apr 2011, 08:11
Znuny Version: 3.2.5

[Solved] German Umlaute "ÄÖÜßäöü" get converted

Post by shostakovich »

At some point we realized it happens only with mod_perl2, perl-cgi was fine.
Solution was: http://sites.google.com/site/kbinstuff/ ... -and-mysql // Read -> "2. The mod_perl case"
2.1. First you need to enable the -C perl switch here also
[...]
2.2. binmode( STDOUT, ':utf8');
EDIT: Not solved. There must be another, very hidden reason...
Post Reply