Commits

ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d  committed 389c0f6

Modified Files:
t/19encoding.t
fixed the interface

  • Participants
  • Parent commits 2ebe2b5

Comments (0)

Files changed (1)

File t/19encoding.t

     
     ok( decodeFromUTF8( 'iso-8859-1' ,$elemlat1->toString()),
         "<$tstr_iso_latin1/>");
-    ok( $elemlat1->toString(1), "<$tstr_iso_latin1/>");
+    ok( $elemlat1->toString(0,1), "<$tstr_iso_latin1/>");
 
     $elemlat1->appendText( $tstr_iso_latin1 );
 
             $tstr_euc_jp );
         ok( decodeFromUTF8( 'EUC-JP' ,$elemjp->toString()),
             "<$tstr_euc_jp/>");
-        ok( $elemjp->toString(1), "<$tstr_euc_jp/>");
+        ok( $elemjp->toString(0,1), "<$tstr_euc_jp/>");
 
         $dom_euc_jp->setDocumentElement( $elemjp );
         $elemjp->appendText( $tstr_euc_jp );
 
         ok( decodeFromUTF8( 'KIO8-R' ,$elemkio8->toString()), 
             "<$tstr_kio8r/>");
-        ok( $elemkio8->toString(1), "<$tstr_kio8r/>");
+        ok( $elemkio8->toString(0,1), "<$tstr_kio8r/>");
 
         $elemkio8->appendText( $tstr_kio8r );