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 -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]} {