Hoogle Search
Within LTS Haskell 24.2 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
decodeUtf8 :: DecodeUtf8 t => ByteString -> Either String tbrick Brick.Widgets.Edit Decode a bytestring assumed to be text in UTF-8 encoding. If the decoding fails, return Left. This must not raise exceptions.
decodeUtf8 :: String -> (String, [String])hxt-unicode Data.String.UTF8Decoding calls decode for parsing and decoding UTF-8
decodeUtf8 :: ByteString -> Maybe IPv4ip Net.IPv4 Decode a UTF8-encoded ByteString into an IPv4.
>>> IPv4.decodeUtf8 "192.168.2.47" Just (ipv4 192 168 2 47)
Currently not terribly efficient since the implementation re-encodes the argument as UTF-16 text before decoding that IPv4 address from that. PRs to fix this are welcome.decodeUtf8 :: ByteString -> Maybe Macip Net.Mac Lenient decoding of MAC address that accepts lowercase, uppercase, and any kind of separator.
>>> Mac.decodeUtf8 "A2:DE:AD:BE:EF:67" Just (mac 0xa2deadbeef67) >>> Mac.decodeUtf8 "13-a2-fe-a4-17-96" Just (mac 0x13a2fea41796) >>> Mac.decodeUtf8 "0A42.47BA.67C2" Just (mac 0x0a4247ba67c2)
decodeUtf8 :: ByteString -> Maybe Countrycountry Country Decode a Country from a UTF-8-encoded ByteString.
decodeUtf8 :: [CodeUnit] -> [CodePoint]alfred-margaret Data.Text.Utf8 Decode a list of UTF-8 code units into a list of code points.
decodeUtf8 :: ConvertUtf8 a b => b -> aincipit-base Incipit.String.Conversion Decode from utf8 string.
>>> decodeUtf8 @Text @ByteString "\208\191\208\176\209\130\208\176\208\186" "\1087\1072\1090\1072\1082" >>> putTextLn $ decodeUtf8 @Text @ByteString "\208\191\208\176\209\130\208\176\208\186" патак
decodeUtf8 :: forall (m :: Type -> Type) . Monad m => Stream m Word8 -> Stream m Charstreamly-core Streamly.Internal.Unicode.Stream Decode a UTF-8 encoded bytestream to a stream of Unicode characters. Any invalid codepoint encountered is replaced with the unicode replacement character.
decodeUtf8 :: forall (m :: Type -> Type) . Monad m => Stream m Word8 -> Stream m Charstreamly-core Streamly.Unicode.Stream Decode a UTF-8 encoded bytestream to a stream of Unicode characters. Any invalid codepoint encountered is replaced with the unicode replacement character.
decodeUTF8 :: ByteString -> [Word32]utf8-light Codec.Binary.UTF8.Light No documentation available.