Ignore:
Timestamp:
2010-09-23T17:23:28+12:00 (14 years ago)
Author:
davidb
Message:

Further code tweaks to correctly support Unicode aware strings in our plugin code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/BasePlugin.pm

    r22705 r22953  
    10151015    my ($textref, $filename) = @_;
    10161016   
    1017     if (!open (FILE, ">$filename")) {
     1017    if (!open (FILE, ">:utf8", $filename)) {
    10181018    gsprintf(STDERR, "ConvertToPlug::write_file {ConvertToPlug.could_not_open_for_writing} ($!)\n", $filename);
    10191019     die "\n";
Note: See TracChangeset for help on using the changeset viewer.