Show
Ignore:
Timestamp:
12.12.2017 16:47:34 (21 months ago)
Author:
ak19
Message:

Marking all the uses of sysread() with a comment saying they're a candidate to use FileUtils::readUTF8File() in future, if thinking about each case beforehand has confirmed that the contents will indeed be UTF8.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/gti.pl

    r31751 r32096  
    773773    &FileUtils::copyFilesRecursiveNoSVN($en_helpxml_file, $glihelp_lang_dir); 
    774774 
     775    # The following file reading section is a candidate to use FileUtils::readUTF8File() 
     776    # in place of calling sysread() directly. But only if we can reason we'd be working with UTF8 
    775777    # In gli/help/<newlang>/help.xml, replace all occurrences of  
    776778    # <Text id="1">This text in en will be removed for new langcode</Text>