Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/text. Pull mirroring updated .
  1. Apr 06, 2019
  2. Nov 08, 2018
  3. Sep 19, 2018
  4. Aug 28, 2018
  5. Aug 27, 2018
  6. Aug 22, 2018
  7. Aug 01, 2018
  8. Mar 04, 2018
  9. Dec 29, 2017
    • Herbert Valerio Riedel's avatar
      Make `decodeUtf8With` fail explicitly for non-BMP repl-chars · ab90c65c
      Herbert Valerio Riedel authored
      This is long-standing issue's existence goes back to `text-0.10`.
      
      This commit is a short-term stop-gap measure turning unsafe undefined
      behaviour into an explicit `error` exception (and thus fail
      non-silently) which given the longevity of this issue seems to be a
      sensible course of action. This commit includes a lengthy source code
      comment explaining the issue as well as potential strategies for
      future work on maximising the definedness of `decodeUtf8With`,
      i.e. support the full range of replacement-characters. This future
      work which will be tracked by gh-213.
      ab90c65c
  10. Dec 27, 2017
  11. Dec 23, 2017
Loading