#2845: post-commit hook & unicode
-------------------------------------+--------------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  jonas
     Type:  task                     |       Status:  new  
 Priority:  highest                  |    Milestone:       
Component:  ticket system            |      Version:  0.9.4
 Severity:  normal                   |   Resolution:       
 Keywords:                           |  
-------------------------------------+--------------------------------------
Comment (by [EMAIL PROTECTED]):

 When I call svnlook from command prompt output message is OK.

 When I call svnlook from command prompt output and redirect it to text
 file message is
 scrambled.

 I need to redirect message to a text file because of windows batch file
 limitiations
 so I tried  doing this (see re-attached batch file because of mismatch in
 line 29)

 {{{
         SET TMP_LOG=%TEMP%.\svnfileTMP-%REV%
         SET LOG_FILE=%TEMP%.\svnfileR-%REV%
         svnlook log -r %REV% %REPOS%>%TMP_LOG%

         ::napravi unicode
         cmd /c /u "type %TMP_LOG%>%LOG_FILE%"
         ::type "%TMP_LOG%"
 }}}


 cmd parameter /u - Causes the output of internal commands to a pipe or
 file to be Unicode

 But trac cannot parse it if in unicode :(

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2845>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to