You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2007-11-22 10:39:32

pavko
Member
Registered: 2007-11-22
Posts: 3

Encoding in tickets by mail gateway - Bug?

Hello everybody!

Thanks for your great job!

Now we are using glpi in our network. I am from ukraine and I found a problem with encoding, using mail gateway.

When the language of the theme of the mail differs from the language of the body of letter then mail gateway creates tickets with abrakadabra (wrong encoding).

So how I understand - programm asumes, that language of theme of the letter and language of the body is the same and applies one encoding for the both.

How it can be fixed?

Thank you very much!

Offline

#2 2007-11-22 18:53:59

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Encoding in tickets by mail gateway - Bug?

do you have php- mbstring installed ?


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#3 2007-11-22 20:39:28

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Encoding in tickets by mail gateway - Bug?

You use différents encoding for title and body of your mail ??


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#4 2007-11-23 17:35:46

pavko
Member
Registered: 2007-11-22
Posts: 3

Re: Encoding in tickets by mail gateway - Bug?

Hello!

phpinfo gives

mbstring
Multibyte Support  enabled 
Multibyte string engine  libmbfl 
Multibyte (japanese) regex support  enabled 
Multibyte regex (oniguruma) version  4.4.4 
Multibyte regex (oniguruma) backtrack check  On 

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value


Now I am trying to setup properly mbstring!
Thank you, you gave me the way! :-)

Offline

#5 2007-11-23 19:22:49

pavko
Member
Registered: 2007-11-22
Posts: 3

Re: Encoding in tickets by mail gateway - Bug?

Our users can use different languages for theme and for the letter body.
And in this situation we have a problem in glpi. theme is ok, but body is not in right encoding.

I found that, when the subject of the letter is in english and body is in russian we have problem with encoding.

It takes encoding from the subject and translates body in the same encoding. And here appear these crazy signes

thank you for your attention to my problem!

Offline

Board footer

Powered by FluxBB