Commits

Maxim Moiseev  committed 4f73e2f

Checked support for unicode characters in ENML text nodes

  • Participants
  • Parent commits 29d6e46

Comments (0)

Files changed (2)

File test/SampleWorkflowTest.hs

 import qualified Evernote.Enml as E
 
 import qualified Control.Exception as C
+import           Data.ByteString.UTF8 (fromString)
 
 import LocalSettings (credentials, settings)
 
         E.br,
         E.todo "A simple todo item",
         E.br,
-        E.done "Checked todo item"
+        E.done "Checked todo item",
+        E.br,
+        E.text $ fromString "Привет, мир!"
         ]
 
     printSomething :: Show a => String -> Maybe a -> IO ()

File test/evernote-tests.cabal

                     , binary
                     , thrift == 0.6.0
                     , text
-                    , blaze-html >= 0.4.2.2
-                    , blaze-builder >= 0.3.0.2
+                    , blaze-html >= 0.5.0.0
+                    , blaze-builder >= 0.3.1.0
                     , xmlhtml >= 0.1.6
+                    , utf8-string >=0.3
                     , HUnit >= 1.2.4.2
                     , test-framework
                     , test-framework-hunit