On Thu, 2006-12-14 at 22:38 +0100, Javier Lafuente wrote:

> This is very strange... It's corrupted in the file read becouse, as I
> previously said, I get the right output when I issue the same command:

Yes, this is strange.

> mistral:~# svnlook info -r 30 /var/svn-repos/test_rep_a
> javi
> 2006-12-14 22:35:23 +0100 (jue, 14 dic 2006)
> 87
> bug 26: Añado una linea a fich2 y pruebo el tema de los acentos
> camión, ALÁ, ñiñli
> 
> 
> Anything else to try?

Sure.

How about instead of reading the output of svnlook from a pipe we save
it first in a file, and then read the file ?

my $cmd = "svnlook info " . $svn_tools_argument . " $svn_txn
$svn_repository";
`$cmd > /tmp/txt`;
open ( SVNLOOK_INFO, "<:encoding(UTF-8)", "/tmp/txt" );

Then have a look at /tmp/txt to see if at least the output of svnlook
info is not corrupted in it, and then see if what was read from the file
was not corrupted.

I'm trying to see if the pipe is causing this. It probably isn't. It's
probably some other Perl issue. As if we are not reading the encoding
right.

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to