Navigation
Synopsis Read the contents of a file location and return it as a list of strings.
Function list[str] readFileLinesEnc(loc file, str charset) throws PathNotFound(loc file), IO(str msg)
Usage import IO;
Description Return the contents (decoded using the Character set supplied) of a file location as a list of lines. Also see readFileLines.
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.