[#140] use with-utf8 library to handle encoding issues
Description
There is a new library developed by Serokell which is supposed to help you do the right thing dealing with encodings: https://hackage.haskell.org/package/with-utf8
We have some utilities (e. g. see Util.IO
) that are present in that library. We are already trying to do the right thing, but apparently it's done not quite consistently across our executables. Also since this functionality is extracted into a library with a specific purpose, it certainly makes sense to use that library.
Related issue(s)
Resolves #140 (closed)
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Artem Yurchenko