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

XML output corrupts encoding

From: Dmitry Makhno <makh_dv_at_qarea.com>
Date: 2007-02-13 15:24:58 CET

Hello,


SVN: 1.4.x

Platfom: Windows

Description:

I found a difference when calling:


svn.exe log svn+ssh://***/trunk --verbose --non-interactive --no-auth-cache

Output like:

*********************************

------------------------------------------------------------------------

r35 | demon | 2007-02-12 18:09:03 +0200 | 4 lines

Changed paths:

   M /trunk/***


?\208?\146?\209?\129?\208?\181 ?\208?\184?\209?\129?\208?\191?\209?\128?\208?\17

6?\208?\178?\208?\184?\208?\187

Fix all unit tests


------------------------------------------------------------------------

*********************************

Russian chars are like ?\nnn


svn.exe log svn+ssh://***/trunk --verbose --xml --non-interactive --no-auth-cache

Output like:

*********************************

<?xml version="1.0"?>

<log>

<logentry

   revision="35">

<author>demon</author>

<date>2007-02-12T16:09:03.523369Z</date>

<paths>

<path

   action="M">/trunk/***</path>


</paths>

<msg>╨Т╤Б╨╡ ╨╕╤Б╨┐╤А╨░╨▓╨╕╨╗

Fix all unit tests

</msg>

</logentry>

</log>

*********************************

Russian chars are trash! (I tried different console output chcp was set to 866(Russian))


In both cases, message were:

"Все исправил

Fix all unit tests"

(russian encoding)


For normal output it is possible to use it in next, but as xml output it is impossible to use for nex application.

It is a critical problem for me because svn.exe is used by CruiseControl.NET, this application uses xls-transformation, but received xml cant be decoded correctly. 


I think this trouble could cause on other applications.


I tried the same for linux, there are no problems at all, but for me it is impossible to use linux for svn output.


There is a related topic http://groups.google.com/group/Subversion-development/browse_thread/thread/55c84a1408a39a02/2bc65a23f2a779f6?lnk=st&rnum=2 



If someone can report this issue, please do it and send me link for monitoring progress.


-- 

Best regards,

 Dmitry                          mailto:makh_dv@qarea.com

--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.org Received on Tue Feb 13 17:29:20 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.