Fix embarassing thinko in `encodeStringUtf8`
commita87fcd103c61dc170b5affd724f75c7991ccf260
authorHerbert Valerio Riedel <hvr@gnu.org>
Tue, 4 Oct 2016 06:11:11 +0000 (4 08:11 +0200)
committerHerbert Valerio Riedel <hvr@gnu.org>
Tue, 4 Oct 2016 06:11:11 +0000 (4 08:11 +0200)
tree1a4f1263096ae76845ed00f8ffeacf496ee8a072
parente14da30b01ff65098cc7fb20c134323c863a85ff
Fix embarassing thinko in `encodeStringUtf8`

TODO: we need more unit-tests to catch this; also I noticed
that `decodeStringUtf8` (which was previously named `fromUTF8BSImpl`)
appears to have been broken for quite some time.
Cabal/Distribution/Utils/String.hs