diff -Nur ./chrome/content/sogo-connector/general/vcards.utils.js /home/ubunitech/Bureau/sogo-connector@inverse.ca/chrome/content/sogo-connector/general/vcards.utils.js
--- ./chrome/content/sogo-connector/general/vcards.utils.js	2010-11-17 11:08:42.000000000 +0100
+++ /home/ubunitech/Bureau/sogo-connector@inverse.ca/chrome/content/sogo-connector/general/vcards.utils.js	2010-11-21 15:03:00.663745000 +0100
@@ -42,10 +42,12 @@
     theString = theString.replace(/\\/g, "\\\\");
     theString = theString.replace(/,/g, "\\,");
     theString = theString.replace(/;/g, "\\;");
-    theString = theString.replace(/,/g, "\\,");
 
-    // theString.replace(/\n/g, "\\n,");
-    // theString.replace(/\r/g, "\\r,");
+//     theString =theString.replace(/\r\n/g, "\\n");    // décommenté RT
+     theString =theString.replace(/\n/g, "\\n");        // décommenté RT
+     theString =theString.replace(/\r/g, "");           // décommenté RT
+                                                               
+     //theString =theString.replace(/\r/g, "\\r");      // décommenté RT
 
     return theString;
 }
@@ -73,12 +75,16 @@
 }
 
 function unescapedFromCard(theString) {
-    theString = theString.replace(/\\/g, "\\");
-    theString = theString.replace(/\,/g, ",");
-    theString = theString.replace(/\;/g, ";");
-    theString = theString.replace(/\,/g, ",");
-    // theString.replace(/\\n/g, "\n,");
-    // theString.replace(/\\r/g, "\r,");
+//    theString = theString.replace(/\\/g, "\\");       commenté par RT
+//    theString = theString.replace(/\,/g, ",");        commenté par RT
+//    theString = theString.replace(/\;/g, ";");        commenté par RT
+//    theString = theString.replace(/\,/g, ",");        commenté par RT
+    
+    theString = theString.replace(/\\\\/g, "\\");     // modifié par RT
+    theString = theString.replace(/\\,/g, ",");       // modifié par RT
+    theString = theString.replace(/\\;/g, ";");       // modifié par RT
+    theString = theString.replace(/\\n/g, "\n");      // décommanté par RT
+//    theString = theString.replace(/\\r/g, "\r");    // décommanté par RT
 
     return theString;
 }
@@ -742,7 +748,8 @@
     let notes = card.getProperty("Notes", "");
     if (notes.length) {
         vCard += foldedLine("NOTE:"
-                            + escapedForCard(notes.replace(/\n/g, "\r\n"))) + "\r\n";
+//                            + escapedForCard(notes.replace(/[\r\n]+/g, "\\n"))) + "\r\n";                   Modification RT
+                              + escapedForCard(notes.replace(/\n/g, "\r\n"))) + "\r\n";
     }
 
     let aimScreenName = card.getProperty("_AimScreenName", "");
