Skip to content

readFile family of functions should avoid or document their use of system locale? #146

@Ptival

Description

@Ptival

readFileText = liftIO . T.readFile
uses Data.Text.IO's readFile.

This might be a source of problem, as described here:
https://www.snoyman.com/blog/2016/12/beware-of-readfile

Solutions could include

Right now, someone would have to read the Relude.File documentation, click on the link to the Data.Text.IO documentation, and then scroll up to see the text about locale.

Metadata

Metadata

Assignees

Labels

docREADME, Haddock documentation, tutorialsquestionFurther information is requested

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions