[rt-users] dumpfile-to-rt-3.0 problem: Invalid UNICODE charactersequence found

Alexei Barantsev barancev at ispras.ru
Tue Jul 13 01:59:46 EDT 2004


Hi,

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

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.

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

  > -----Original Message-----
  > From: rt-users-bounces at lists.bestpractical.com 
  > [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf 
  > Of Alexei Barantsev
  > Sent: Friday, July 09, 2004 9:06 AM
  > To: rt-users at lists.bestpractical.com
  > Subject: [rt-users] dumpfile-to-rt-3.0 problem: Invalid 
  > UNICODE charactersequence found
  > 
  > Hi,
  > 
  > At least, after launching 3.2.0, I've decided to start 
  > migration from rt2 to rt3.
  > 
  > Unfortunately I've faced a problem transferring tickets 
  > with non-English subject.
  > 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 versions.
  > 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
  > From: "Alexey Demakov" <demakov at ispras.ru>
  > Newsgroups: project.javatesk.translator
  > Subject: îÁÂÏÒ ÔÅÓÔÏ× ÄÌÑ 
  > ÔÒÁÎÓÌÑÔÏÒÁ É ÂÁÇ-ÒÅÐÏÒÔÙ
  > Date: Tue, 13 Mar 2001 16:27:01 +0300
  > Organization: ISP RAS
  > Lines: 74
  > Message-Id: <98l6ql$rtu$1 at kazbek.kazbek.ispras.ru>
  > NNTP-Posting-Host: marlboro.kazbek.ispras.ru
  > X-Trace: kazbek.kazbek.ispras.ru 984489621 28606 
  > 194.186.94.140 (13 Mar 2001
  > 13:20:21 GMT)
  > X-Complaints-To: usenet at 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.
  >  (/usr/local/rt3/lib/RT.pm:254)
  > --------------------------
  > 
  > Thanks,
  > --
  > Alexei Barantsev
  > UniTesK Product Line Manager, ISP RAS
  > mailto: barancev at ispras.ru
  > phone : +7(095)912-5317(ext 4422)
  > Web   : http://unitesk.com/
  > 
  > 
  > 
  > _______________________________________________
  > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
  > 
  > Be sure to check out the RT wiki at http://wiki.bestpractical.com
  > 






More information about the rt-users mailing list