Login | Register
My pages Projects Community openCollabNet

Discussions > commits > websvn commit: r304 - trunk

websvn
Discussion topic

Back to topic list

websvn commit: r304 - trunk

Reply

Author tarmes
Full name Tim Armes
Date 2004-08-30 05:28:14 PDT
Message Author: tarmes
Date: Mon Aug 30 07:28:10 2004
New Revision: 304

Modified:
   trunk/changes.txt
   trunk/comp.php
Log:
Accented characters weren't shown correctly in the directory comparison view.

Modified: trunk/changes.txt
Url: http://svn.collab.ne​t/viewcvs/websvn/tru​nk/changes.txt?view=​diff&rev=304​&p1=trunk/changes.tx​t&r1=303&p2=​trunk/changes.txt​&r2=304
====================​====================​====================​==================
--- trunk/changes.txt (original)
+++ trunk/changes.txt Mon Aug 30 07:28:10 2004
@@ -1,5 +1,8 @@
 CHANGES
 
+FIX: Accented characters weren't shown correctly in the directory comparison
+ view.
+
 1.61
 
 NEW: Multibyte encodings are considered when urlencoding path names

Modified: trunk/comp.php
Url: http://svn.collab.ne​t/viewcvs/websvn/tru​nk/comp.php?view=dif​f&rev=304&p1​=trunk/comp.php&​r1=303&p2=trunk/​comp.php&r2=304
====================​====================​====================​==================
--- trunk/comp.php (original)
+++ trunk/comp.php Mon Aug 30 07:28:10 2004
@@ -164,7 +164,7 @@
                    {
                       case " ":
                          $listing[$index]["diffclass"] = "diff";
- $subline = hardspace(transChars​(rtrim(substr($line​, 1)), true));
+ $subline = replaceEntities(rtri​m(substr($line, 1)));
                          if (empty($subline)) $subline = " ";
                          $listing[$index++]["line"] = $subline;
                         if ($debug) print "Including as diff: $subline<br>";
@@ -172,7 +172,7 @@
                 
                       case "+":
                          $listing[$index]["diffclass"] = "diffadded";
- $subline = hardspace(transChars​(rtrim(substr($line​, 1)), true));
+ $subline = replaceEntities(rtri​m(substr($line, 1)));
                          if (empty($subline)) $subline = "&nbsp;";
                          $listing[$index++]["line"] = $subline;
                         if ($debug) print "Including as added: $subline<br>";
@@ -180,7 +180,7 @@
          
                       case "-":
                          $listing[$index]["diffclass"] = "diffdeleted";
- $subline = hardspace(transChars​(rtrim(substr($line​, 1)), true));
+ $subline = replaceEntities(rtri​m(substr($line, 1)));
                          if (empty($subline)) $subline = "&nbsp;";
                          $listing[$index++]["line"] = $subline;
                         if ($debug) print "Including as removed: $subline<br>";

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

websvn commit: r304 - trunk tarmes Tim Armes 2004-08-30 05:28:14 PDT
Messages per page: