Index: openacs-4/packages/xowiki/www/admin/export.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/admin/export.tcl,v diff -u -N -r1.7 -r1.8 --- openacs-4/packages/xowiki/www/admin/export.tcl 18 Sep 2007 13:28:33 -0000 1.7 +++ openacs-4/packages/xowiki/www/admin/export.tcl 10 Feb 2008 16:50:47 -0000 1.8 @@ -42,6 +42,7 @@ } } $item_id volatile + #ns_log notice "exporting $item_id [$item_id name]" append content [$item_id marshall] \n } Index: openacs-4/packages/xowiki/www/admin/import.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/admin/import.tcl,v diff -u -N -r1.10 -r1.11 --- openacs-4/packages/xowiki/www/admin/import.tcl 17 Feb 2007 23:01:36 -0000 1.10 +++ openacs-4/packages/xowiki/www/admin/import.tcl 10 Feb 2008 16:50:47 -0000 1.11 @@ -27,7 +27,11 @@ } set upload_tmpfile [template::util::file::get_property tmp_filename $upload_file] - set f [open $upload_tmpfile]; set content [read $f]; close $f + set f [open $upload_tmpfile]; + # if we do not set translation binary, + # backslashes at the end of the lines might be lost + fconfigure $f -translation binary; + set content [read $f]; close $f foreach o [::xowiki::Page allinstances] { $o destroy } if {[catch {namespace eval ::xo::import $content} error]} {