[otrs] Unicode encoding problems in the agent frontend

2014-11-23 Thread Tim Schumacher
Hi folks,

I wanted to give OTRS 4.0 a spin, so I made a backup of my test
instance and checkout the the rel-4.0 branch and followed the update
instructions. I was using 3.3 previously where I had not the followig
problems. I'm running OTRS behind fastcgiwrap behind nginx, which also
is working flawless.

My problem is, that the generated HTML garbles up all the unicode
characters as you can see in this screenshot (for Example under
'Ticket-Einstellungen', 'Agenten-Benachrichtigungen):
https://picdump.datenknoten.me/060e60cbb676db5500344e38c97dad5b0a83b1e5b2a5656dbf509e999e990727_orig

This also includes customer correspondences.

The Database is configured correctly I think:

 Name | Owner | Encoding |   Collate   |Ctype| Access privileges 
--+---+--+-+-+---
 otrs | otrs  | UTF8 | en_GB.UTF-8 | en_GB.UTF-8 | 

Is there anything else I may have missed?

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


Re: [otrs] Unicode encoding problems in the agent frontend

2014-11-23 Thread Renee B
Please check if the translation files (Kernel/Language/*.pm) are stored
with utf-8...

- Renée


On 23.11.2014 16:38, Tim Schumacher wrote:
> Hi folks,
>
> I wanted to give OTRS 4.0 a spin, so I made a backup of my test
> instance and checkout the the rel-4.0 branch and followed the update
> instructions. I was using 3.3 previously where I had not the followig
> problems. I'm running OTRS behind fastcgiwrap behind nginx, which also
> is working flawless.
>
> My problem is, that the generated HTML garbles up all the unicode
> characters as you can see in this screenshot (for Example under
> 'Ticket-Einstellungen', 'Agenten-Benachrichtigungen):
> https://picdump.datenknoten.me/060e60cbb676db5500344e38c97dad5b0a83b1e5b2a5656dbf509e999e990727_orig
>
> This also includes customer correspondences.
>
> The Database is configured correctly I think:
>
>  Name | Owner | Encoding |   Collate   |Ctype| Access privileges 
> --+---+--+-+-+---
>  otrs | otrs  | UTF8 | en_GB.UTF-8 | en_GB.UTF-8 | 
>
> Is there anything else I may have missed?
>
> 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


-- 
Perl / OTRS development: http://perl-services.de
OTRS AddOn repository: http://opar.perl-services.de

-
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

Re: [otrs] Unicode encoding problems in the agent frontend

2014-11-23 Thread Tim Schumacher
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.

The box is a Debian jessy.

Greetings and thanks for your time

Tim

Am 23. November 2014 23:00:26 MEZ, schrieb Renee B :
>Please check if the translation files (Kernel/Language/*.pm) are stored
>with utf-8...
>
>- Renée
>
>
>On 23.11.2014 16:38, Tim Schumacher wrote:
>> Hi folks,
>>
>> I wanted to give OTRS 4.0 a spin, so I made a backup of my test
>> instance and checkout the the rel-4.0 branch and followed the update
>> instructions. I was using 3.3 previously where I had not the followig
>> problems. I'm running OTRS behind fastcgiwrap behind nginx, which
>also
>> is working flawless.
>>
>> My problem is, that the generated HTML garbles up all the unicode
>> characters as you can see in this screenshot (for Example under
>> 'Ticket-Einstellungen', 'Agenten-Benachrichtigungen):
>>
>https://picdump.datenknoten.me/060e60cbb676db5500344e38c97dad5b0a83b1e5b2a5656dbf509e999e990727_orig
>>
>> This also includes customer correspondences.
>>
>> The Database is configured correctly I think:
>>
>>  Name | Owner | Encoding |   Collate   |Ctype| Access
>privileges 
>>
>--+---+--+-+-+---
>>  otrs | otrs  | UTF8 | en_GB.UTF-8 | en_GB.UTF-8 | 
>>
>> Is there anything else I may have missed?
>>
>> 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
>
>
>-- 
>Perl / OTRS development: http://perl-services.de
>OTRS AddOn repository: http://opar.perl-services.de
>
>-
>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

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.-
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

Re: [otrs] Unicode encoding problems in the agent frontend

2014-11-23 Thread Renee B
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...

- Renée

-- 
Perl / OTRS development: http://perl-services.de
OTRS AddOn repository: http://opar.perl-services.de

-
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

Re: [otrs] Unicode encoding problems in the agent frontend

2014-11-23 Thread Tim Schumacher
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;



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. /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