/[suikacvs]/markup/html/whatpm/Whatpm/HTML.pm.src
Suika

Diff of /markup/html/whatpm/Whatpm/HTML.pm.src

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.148 by wakaba, Sun May 25 07:54:33 2008 UTC revision 1.149 by wakaba, Sun May 25 08:53:49 2008 UTC
# Line 481  sub parse_byte_stream ($$$$;$) { Line 481  sub parse_byte_stream ($$$$;$) {
481        ## "Change the encoding" algorithm:        ## "Change the encoding" algorithm:
482    
483        ## Step 1            ## Step 1    
484        if ($charset->{iana_names}->{'utf-16'}) { ## ISSUE: UTF-16BE -> UTF-8? UTF-16LE -> UTF-8?        if ($charset->{category} &
485              Message::Charset::Info::CHARSET_CATEGORY_UTF16 ()) {
486          $charset = Message::Charset::Info->get_by_iana_name ('utf-8');          $charset = Message::Charset::Info->get_by_iana_name ('utf-8');
487          ($char_stream, $e_status) = $charset->get_decode_handle          ($char_stream, $e_status) = $charset->get_decode_handle
488              ($byte_stream,              ($byte_stream,

Legend:
Removed from v.1.148  
changed lines
  Added in v.1.149

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24