Skip to content

[#140] use with-utf8 library to handle encoding issues

Artem Yurchenko requested to merge grepcake/#140-use-with-utf8 into master

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

    • I checked whether I should update the docs and did so if necessary:
    • I updated changelog files of all affected packages released to Hackage if my changes are externally visible.

Stylistic guide (mandatory)

Edited by Artem Yurchenko

Merge request reports