Changeset 22953
- Timestamp:
- 2010-09-23T17:23:28+12:00 (13 years ago)
- Location:
- main/trunk/greenstone2/perllib/plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/BasePlugin.pm
r22705 r22953 1015 1015 my ($textref, $filename) = @_; 1016 1016 1017 if (!open (FILE, "> $filename")) {1017 if (!open (FILE, ">:utf8", $filename)) { 1018 1018 gsprintf(STDERR, "ConvertToPlug::write_file {ConvertToPlug.could_not_open_for_writing} ($!)\n", $filename); 1019 1019 die "\n"; -
main/trunk/greenstone2/perllib/plugins/PDFPlugin.pm
r22874 r22953 332 332 } 333 333 334 335 # The following should no longer be needed, now that strings 336 # read in are Unicode aware (in the Perl sense) rather than 337 # raw binary strings that just happen to be UTF-8 compliant 338 334 339 # turn any high bytes that aren't valid utf-8 into utf-8. 335 unicode::ensure_utf8(\$text);340 ## unicode::ensure_utf8(\$text); 336 341 337 342 # Write it out again!
Note:
See TracChangeset
for help on using the changeset viewer.