Le 20/09/2013 à 23:01:56+0200, Albert Shih a écrit > Le 20/09/2013 à 08:58:35+0400, Ruslan Zakirov a écrit > Hi, > > > > > You didn't say how to reproduce the problem. Should it be email? Should it > > be > > UI? > > Only from email. > > When I send a email with some utf-8 character inside the subject the > problem appear. > > I try to track the problem, so I installe a new server (FreeBSD), dump the > all mysql base and rt config, put inside the new server and the problem > still here. > > I disable all plugin and enable debug mode in RT : > > Here the log I find (It's really at the beginning : ) > > Sep 20 20:53:37 support-new RT: Converting 'iso-8859-1' to 'utf-8' for > text/plain - Essai é, è, ã > Sep 20 20:53:37 support-new RT: Mail from user #22 ([email protected]) > Sep 20 20:53:37 support-new RT: About to think about scrips for transaction > #203642 > Sep 20 20:53:37 support-new RT: About to think about scrips for transaction > #203643 > Sep 20 20:53:37 support-new RT: About to think about scrips for transaction > #203644 > Sep 20 20:53:37 support-new RT: About to think about scrips for transaction > #203645 > Sep 20 20:53:37 support-new RT: About to think about scrips for transaction > #203646 > Sep 20 20:53:37 support-new RT: About to prepare scrips for transaction > #203646 > Sep 20 20:53:37 support-new RT: Found 3 scrips for TransactionCreate stage > with applicable type(s) Create for txn #203646 on ticket #10767 > Sep 20 20:53:37 support-new RT: Converting 'utf-8' to 'utf-8' for text/plain > - =?UTF-8?B?W0luZm8gT2JzcG0gIzEwNzY3XSBFc3NhaSDvv70sIO+/vSwg77+9?= > Sep 20 20:53:37 support-new RT: Converting 'utf-8' to 'utf-8' for text/plain > - =?UTF-8?B?W0luZm8gT2JzcG0gIzEwNzY3XSBFc3NhaSDvv70sIO+/vSwg77+9?= > > > at this point something is wrong because > > echo "W0luZm8gT2JzcG0gIzEwNzY3XSBFc3NhaSDvv70sIO+/vSwg77+9" |base64 -d > > [Info Obspm #10767] Essai �, �, � > > and missing a "\n" at the end > > It should be something like : > > echo "[Info Obspm #10767] Essai é, è, ã" |base64 > > W0luZm8gT2JzcG0gIzEwNzY3XSBFc3NhaSDDqSwgw6gsIMOjCg== > > More stranger, if now I close the ticket from the web UI the mail RT send > to me is correct. >
Any help ? I'm totally stuck with this problem. The point is not only because I lost some UTF-8 character, but because with some UTF-8 in the subject some scrip don't work, the mail isn't send by RT to the requestor (for example). Today I install from empty disk (on vmware) a fresh FreeBSD 9.2-RC4, I don't use anything from the old config, I init a empty database (rt-setup-database --action=init). And I still get the problem. So the problem don't come from error in the configuration. I remark, with fresh install the « autoreply » scrip (who have in the script «Subject : etc..» is working perfectly, but since the « subject » is not inside the scrip it's stop working, the encoding is wrong. Any help would very very welcome. For example : where the subject is encoded inside RT and with which perl package ? Regards. JAS -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex France Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71 xmpp: [email protected] Heure local/Local time: lun 23 sep 2013 22:25:09 CEST -- RT Training in New York, October 8th and 9th: http://bestpractical.com/training
