Changeset 3704 for trunk/niupepa
- Timestamp:
- 2003-01-22T13:52:31+13:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/niupepa/perllib/plugins/NPPlug.pm
r3703 r3704 399 399 } 400 400 close FILE; 401 if ($foundbody) {return &unicode::ascii2utf8(\$text);} 402 else {return &unicode::ascii2utf8(\$savedtext);} 401 if (!$foundbody) {$text = $savedtext;} 402 if ($filename =~ /\.(commentary|abstract)$/i) { 403 # commentaries and abstracts should already be utf8 404 return $text; 405 } else { 406 # a few extended ascii characters have snuck through 407 # in some text files so we need to convert them to utf8 408 return &unicode::ascii2utf8(\$text); 409 } 403 410 404 411 } else { … … 408 415 } 409 416 close FILE; 417 # a few extended ascii characters have snuck through 418 # in some text files so we need to convert them to utf8 410 419 return &unicode::ascii2utf8(\$text); 411 420 }
Note:
See TracChangeset
for help on using the changeset viewer.