[LON-CAPA-cvs] cvs: loncom /publisher lonpublisher.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 25 Sep 2003 20:13:20 -0000


albertel		Thu Sep 25 16:13:20 2003 EDT

  Modified files:              
    /loncom/publisher	lonpublisher.pm 
  Log:
  - answering the FIXME
  
  
Index: loncom/publisher/lonpublisher.pm
diff -u loncom/publisher/lonpublisher.pm:1.136 loncom/publisher/lonpublisher.pm:1.137
--- loncom/publisher/lonpublisher.pm:1.136	Thu Sep 25 16:01:15 2003
+++ loncom/publisher/lonpublisher.pm	Thu Sep 25 16:13:19 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Publication Handler
 #
-# $Id: lonpublisher.pm,v 1.136 2003/09/25 20:01:15 www Exp $
+# $Id: lonpublisher.pm,v 1.137 2003/09/25 20:13:19 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -898,8 +898,10 @@
         $outstring=~s/\n*(\<\/[^\>]+\>)\s*$/$allowstr\n$1\n/s;
 
 ### FIXME: is this really what we want?
+# I dont' think so, to will corrupt any UTF-8 resources at least, 
+# and any encoding other than ISO-8859-1 will probably break
 	#Encode any High ASCII characters
-	$outstring=&HTML::Entities::encode($outstring,"\200-\377");
+	#$outstring=&HTML::Entities::encode($outstring,"\200-\377");
 # ------------------------------------------------------------- Write modified.
 
         {