Dumpfile-to-rt-3.0 problem: Invalid UNICODE character sequence found


At least, after launching 3.2.0, I’ve decided to start migration from rt2 to

Unfortunately I’ve faced a problem transferring tickets with non-English
More precisely, import utility dumpfile-to-rt-3.0 could not create
attachments to such tickets.

I use RedHat 9 and perl 5.8.0. I think the reason might be this outdated
perl version.
I heard 5.8.3 is recommended because of unicode-related issues in earlier
The surprising thing however is that the import CAN create ticket itself,
but CANNOT create attachments to it that have the same subject.

Here is the the diagnostics:

Couldn’t create attachment
$VAR1 = {
‘Subject’ => ‘îÁÂÏÒ ÔÅÓÔÏ× ÄÌÑ
‘ContentType’ => ‘text/plain’,
‘Headers’ => 'Path: kazbek!not-for-mail
Newsgroups: project.javatesk.translator
Organization: ISP RAS
Lines: 74
Message-Id: 98l6ql$rtu$1@kazbek.kazbek.ispras.ru
NNTP-Posting-Host: marlboro.kazbek.ispras.ru
X-Trace: kazbek.kazbek.ispras.ru 984489621 28606 (13 Mar 2001
13:20:21 GMT)
X-Complaints-To: usenet@kazbek.ispras.ru
NNTP-Posting-Date: 13 Mar 2001 13:20:21 GMT
X-Priority: 3
X-Msmail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-Mimeole: Produced By Microsoft MimeOLE V5.50.4133.2400
Xref: kazbek project.javatesk.translator:2
X-RT-Original-Encoding: koi8-r
‘Creator’ => ‘1’,
‘Parent’ => ‘0’,
‘Created’ => ‘2002-09-12 15:47:32+00’,
‘id’ => ‘79’,
‘ContentEncoding’ => ‘none’,
‘TransactionId’ => ‘129’

ERROR: Invalid UNICODE character sequence found (0xd120)
[Thu Jul 8 13:39:14 2004] [crit]: Died at
/home/barancev/tmp/rt2-to-rt3-1.23/dumpfile-to-rt-3.0 line 722.

Alexei Barantsev
UniTesK Product Line Manager, ISP RAS
mailto: barancev@ispras.ru
phone : +7(095)912-5317(ext 4422)
Web : http://unitesk.com/


It seems from the silence that nobody faced this problem before.

A new piece of information on the issue: installing perl-5.8.3 does not

Nevertheless, I’ve resolved this issue - to import such tickets converter
should encode to UTF not only $a->{‘Content’} but $a->{‘Subject’} and
$a->{‘Headers’} too.

Alexei Barantsev
UniTesK Product Line Manager, ISP RAS
mailto: barancev@ispras.ru
Phone : +7(095)912-5317(ext 4422)