At Sun, 23 Nov 2014 23:29:13 +0100,
Renee B wrote:
> 
> On 23.11.2014 23:14, Tim Schumacher wrote:
> > Jup, it is. There are no modifications to the gut tree:
> >
> > $ file de.pm
> > de.pm: Perl5 module source, UTF-8 Unicode text, with very long
> >  lines
> >
> > What i forgot to mention is that all content is garbled, also the customer 
> > emails. I looked into the database with psql and the content is correct.
> >
> 
> Then check the HTTP-Headers. Is there any charset set? Check the browser
> - what charset is used to show the content...

Content-Type: text/html; charset=utf-8;

<meta http-equiv="Content-type" content="text/html;charset=utf-8" />

And firefox says unicode. You can try for yourself on
https://support.datenknoten.me/

Whats realy strange, when I run /opt/otrs/bin/cgi-bin/index.pl from
the shell, the unicode characters are correct. When I run
/opt/otrs/bin/fcgi-bin/index.pl they are garbled up like in the web
interface.

My nginx config looks like this:

    location ~ ^/otrs/(.*\.pl)(/.*)?$ {
        gzip off;
        # Enter your fcgiwrap socket here
        fastcgi_pass  unix:/var/run/fcgiwrap.socket;
        fastcgi_index index.pl;
        # Enter your OTRS cgi-bin path,
        e.g. <YOUR_OTRS_PATH>/bin/cgi-bin
        fastcgi_param  SCRIPT_FILENAME /opt/otrs/bin/cgi-bin/$1;
        include fastcgi_params;
    }

And wether I put cgi-bin or fcgi-bin in SCRIPT_FILENAME it does not
matter, the characters are garbled.

greetings

Tim
---------------------------------------------------------------------
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

Reply via email to