-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some non-ascii unicode chars are not case-folded correctly. #31
Comments
Oh, interesting: there is import qualified Data.CaseInsensitive as CI
import qualified Data.Text as Text
import Prelude
main :: IO ()
main = do
print (Text.toCaseFold "\5042" == "\43906")
print ((CI.foldCase (CI.mk ("\5042" :: String))) == "\43906")
{-
*Main> :main
True
False
-} |
I think this is actually a bug in |
It gets weirder:
|
Thanks to QuickCheck! :)
The text was updated successfully, but these errors were encountered: