@@ -23,6 +23,7 @@
2323-- Copyright : (c) 2018 Harendra Kumar
2424-- Copyright : (c) Roman Leshchinskiy 2008-2010
2525-- Copyright : (c) The University of Glasgow, 2009
26+-- Copyright : (c) Bjoern Hoehrmann 2008-2009
2627--
2728-- License : BSD3
2829-- Maintainer : harendra.kumar@gmail.com
@@ -3011,6 +3012,8 @@ replacementChar = '\xFFFD'
30113012type CodePoint = Word32
30123013type DecoderState = Word32
30133014
3015+-- See http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ for details.
3016+
30143017utf8d :: A.Array Word32
30153018utf8d = A.fromList [
30163019 -- The first part of the table maps bytes to character classes that