Reads an existing file as strict UTF-8 (a BOM is kept as part of the text). Anything else, including UTF-16 and Latin-1 with accented letters, is refused: rewriting it as UTF-8 would corrupt the user's file. Returns undefined when there is no file.
Reads an existing file as strict UTF-8 (a BOM is kept as part of the text). Anything else, including UTF-16 and Latin-1 with accented letters, is refused: rewriting it as UTF-8 would corrupt the user's file. Returns undefined when there is no file.