Changeset 32500 for main/trunk/greenstone2/perllib/plugins/ReadTextFile.pm
- Timestamp:
- 2018-10-05T16:48:04+13:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/ReadTextFile.pm
r32096 r32500 422 422 $best_encoding =~ s/-+/_/g; 423 423 $best_encoding = lc($best_encoding); # lowercase 424 if ($best_encoding eq "utf_8" ) { $best_encoding = "utf8" }424 if ($best_encoding eq "utf_8" || $best_encoding =~ /utf_8/) { $best_encoding = "utf8" } 425 425 $found_html_encoding = 1; 426 426 # We shouldn't be modifying this here!!
Note:
See TracChangeset
for help on using the changeset viewer.