[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

p42svn.pl, utf, binary files and everything else

From: Greg Golin <greg.golin_at_gmail.com>
Date: 2007-04-17 19:22:58 CEST

Hello,

I'm trying to migrate from p4 to svn using the p42svn.pl script and I
am running into trouble. I added a use diagnostics; clause to the
script and ran it. Here's the output:

##begin output##

Node-kind: dir
Node-action: add
Prop-content-length: 10
Content-length: 10

PROPS-END

Wide character in subroutine entry at ./p42svn.pl.1 line 453 (#1)
    (W utf8) Perl met a wide character (>255) when it wasn't expecting
    one. This warning is by default on for I/O (like print) but can be
    turned off by no warnings 'utf8';. You are supposed to explicitly
    mark the filehandle with an encoding, see open and perlfunc/binmode.

Malformed UTF-8 character (unexpected non-continuation byte 0xcf,
immediately after start byte 0xd0) in pattern match (m//) at
/usr/lib/perl5/5.8.0/Carp/Heavy.pm line 56.
Malformed UTF-8 character (unexpected non-continuation byte 0xcf,
immediately after start byte 0xd0) in pattern match (m//) at
/usr/lib/perl5/5.8.0/Carp/Heavy.pm line 56.
Malformed UTF-8 character (unexpected non-continuation byte 0xcf,
immediately after start byte 0xd0) in substitution (s///) at
/usr/lib/perl5/5.8.0/Carp/Heavy.pm line 61.
Malformed UTF-8 character (unexpected non-continuation byte 0x11,
immediately after start byte 0xcf) in substitution iterator at
/usr/lib/perl5/5.8.0/Carp/Heavy.pm line 61.
Malformed UTF-8 character (unexpected non-continuation byte 0xcf,
immediately after start byte 0xd0) in substitution iterator at
/usr/lib/perl5/5.8.0/Carp/Heavy.pm line 61.
Malformed UTF-8 character (unexpected non-continuation byte 0x11,
immediately after start byte 0xcf) in substitution iterator at
/usr/lib/perl5/5.8.0/Carp/Heavy.pm line 61.
Malformed UTF-8 character (unexpected non-continuation byte 0x00,
immediately after start byte 0xe1) in substitution iterator at
/usr/lib/perl5/5.8.0/Carp/Heavy.pm line 61.
Malformed UTF-8 character (unexpected non-continuation byte 0x00,
immediately after start byte 0xe1) in substitution iterator at
/usr/lib/perl5/5.8.0/Carp/Heavy.pm line 61.
Malformed UTF-8 character (byte 0xfe) in substitution iterator at
/usr/lib/perl5/5.8.0/Carp/Heavy.pm line 61.
Malformed UTF-8 character (byte 0xff) in substitution iterator at
/usr/lib/perl5/5.8.0/Carp/Heavy.pm line 61.
Malformed UTF-8 character (byte 0xfe) in substitution iterator at
/usr/lib/perl5/5.8.0/Carp/Heavy.pm line 61.
Malformed UTF-8 character (byte 0xff) in substitution iterator at
/usr/lib/perl5/5.8.0/Carp/Heavy.pm line 61.
Malformed UTF-8 character (byte 0xfe) in substitution iterator at
/usr/lib/perl5/5.8.0/Carp/Heavy.pm line 61.
Malformed UTF-8 character (byte 0xff) in substitution iterator at
/usr/lib/perl5/5.8.0/Carp/Heavy.pm line 61.
Malformed UTF-8 character (byte 0xfe) in substitution iterator at
/usr/lib/perl5/5.8.0/Carp/Heavy.pm line 61.
Malformed UTF-8 character (byte 0xff) in substitution iterator at
/usr/lib/perl5/5.8.0/Carp/Heavy.pm line 61.
Malformed UTF-8 character (byte 0xff) in substitution iterator at
/usr/lib/perl5/5.8.0/Carp/Heavy.pm line 61.
Malformed UTF-8 character (byte 0xff) in substitution iterator at
/usr/lib/perl5/5.8.0/Carp/Heavy.pm line 61.
Malformed UTF-8 character (byte 0xff) in substitution iterator at
/usr/lib/perl5/5.8.0/Carp/Heavy.pm line 61.
Malformed UTF-8 character (byte 0xff) in substitution iterator at
/usr/lib/perl5/5.8.0/Carp/Heavy.pm line 61.
Uncaught exception from user code:
        Wide character in subroutine entry at ./p42svn.pl.1 line 453.
        main::svn_add_file('1projectName/FILE_NAME_.vsd','ARRAY(0x9889240)','\x{d0}\x{cf}\x{11}\x{871}\x{1a}\x{e1}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}>\x{0}\x{3}\x{0}\x{fe}\x{ff}\x{9}\x{0}\x{6}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{2}\x{0}\x{0}\x{0}\x{2}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{10}\x{0}\x{0}\x{5}\x{0}\x{0}\x{0}\x{1}\x{0}\x{0}\x{0}\x{fe}\x{ff}\x{ff}\x{ff}\x{0}\x{0}\x{0}\x{0}\x{3}\x{0}...')
called at ./p42svn.pl.1 line 805
        main::p4add2svn('//path/todepot/projectName/FILE_NAME_.vsd','binary',87569)
called at ./p42svn.pl.1 line 925

## end output ##

I tried this with two versions of the script, .17 and .18.

How can I remedy this?

Thanks
Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 17 19:23:18 2007

This is an archived mail posted to the Subversion Users mailing list.