Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-983

cvs2svn.py: Non-ASCII characters garbled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • all
    • cvs2svn-1.0
    • tools
    • None
    • Linux

    Description

      Special non-ASCII characters like german umlauts (ä,ö,ü,ß - i.e. ä  
      ö ü ß in HTML entities) are not encoded correctly.  
        
      cvs log <FILE> shows some strange characters  
      cvs --xml log <FILE> shows the umlauts in cleartext (i.e. ä) instead of  
      UTF-8 encoding  
        
      Example:  
        
      --------------------- snip ---------------------  
      CVS original log:  
      Ergänzung um Protokolle, Parameter BenutzerId  
        
      svn --xml log:  
      <?xml version="1.0" encoding="utf-8"?>  
      <log>  
      <logentry  
         revision="710">  
      <author>volker</author>  
      <date>2002-08-23T11:48:58.000000Z</date>  
      <msg>Ergänzung um Protokolle, Parameter BenutzerId  
      </msg>  
      </logentry>  
        
        
      svn log:  
      ------------------------------------------------------------------------  
      rev 710:  volker | 2002-08-23 13:48:58 +0200 (Fre, 23 Aug 2002) | 2 lines  
        
      Erg?\228nzung um Protokolle, Parameter BenutzerId  
      --------------------- snip ---------------------  
        
      Using umlauts when in the log message with the command line svn just works  
      fine and as expected:  
        
      --------------------- snip ---------------------  
      <logentry  
         revision="1">  
      <author>volker</author>  
      <date>2002-11-08T21:46:57.494669Z</date>  
      <msg>Verzeichnis trunk ergÃ?nzt</msg>  
      </logentry>  
        
      Verzeichnis trunk ergänzt  
        
      -------------------------------------------  
       Environment: 
       
       
      I can provide you with the CVS/RCS-File for this import.
      

      Original issue reported by pholcer

      Attachments

        1. 1_cvs2svn-utf8-log.patch
          2 kB
          Subversion Importer
        2. 2_cvs2svn-utf8-log-correct.patch
          2 kB
          Subversion Importer

        Issue Links

          Activity

            People

              Unassigned Unassigned
              subversion-importer Subversion Importer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: