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 2014-01-20 08:58:09

k-nike
Guest
Registered: 2012-05-23
Posts: 10

Cyrillic in the email subject

Some tickets have started to come with incorrectly decoded field title (email subject) after upgrade from 0.83.6 to 0.84.3
For example äÏÓÔÕÐ ÚÁ×ÅÄÅÎÉÑ ÐÏÌØÚÏ×ÁÔÅÌÅÊ instead Доступ заведения пользователей.
How can I solve this problem?

Last edited by k-nike (2014-01-20 08:58:44)

Offline

#2 2014-01-20 10:34:23

k-nike
Guest
Registered: 2012-05-23
Posts: 10

Re: Cyrillic in the email subject

This also applies to attachments

Offline

#3 2014-01-23 06:35:56

k-nike
Guest
Registered: 2012-05-23
Posts: 10

Re: Cyrillic in the email subject

I restored from backup glpi. Then I installed systems updates in order. Encoding is broken when upgrading from 0.84.2 to 0.84.3.
Encoding breaks if the letters sent to KOI8-R. If the encoding set to UTF8, then all is well.
Online decoder (http://web.artlebedev.ru/tools/decoder/) says it converts CP1252 → KOI8-R.

Offline

#4 2014-01-23 06:42:43

k-nike
Guest
Registered: 2012-05-23
Posts: 10

Re: Cyrillic in the email subject

Decoding function message subject, message body and attachment names are different? Why body of the message is decoded correctly?

Offline

#5 2014-01-23 09:54:31

k-nike
Guest
Registered: 2012-05-23
Posts: 10

Re: Cyrillic in the email subject

I did roll back this patch https://forge.indepnet.net/issues/4563
In the backup copy GLPi the problem was resolved.

In the production GLPI the problem with subject was resolved. But the problem remains with attachments. Attachments name or decoded incorrectly, or do not come! Probably this is due to damage to the tables after upgrading GLPI. I restored them earlier.

Offline

#6 2014-01-27 07:46:24

k-nike
Guest
Registered: 2012-05-23
Posts: 10

Re: Cyrillic in the email subject

Everything is OK now.

The problem was probably that not all files are replaced when upgrading from 0.83.6 to 0.84.3. Needed to be updated in order.

Enough rollback patch https://forge.indepnet.net/projects/glp … ions/21924

Last edited by k-nike (2014-01-27 09:47:22)

Offline

#7 2014-01-28 08:48:12

andyac
Guest
Registered: 2013-06-24
Posts: 4

Re: Cyrillic in the email subject

Thanks!.. it helped.

Offline

#8 2014-01-29 10:25:46

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

Re: Cyrillic in the email subject

I am able to reproduce the trouble. Will work on a complete fix


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

Offline

#9 2014-01-29 10:57:04

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

Re: Cyrillic in the email subject


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

Offline

Board footer

Powered by FluxBB