Does anyone else think it odd that Prelude.words will break a string at a non-breaking space?

Prelude> words "abc def\xA0ghi"
["abc","def","ghi"]

I would have expected this to be the obvious behaviour: 

Prelude> words "abc def\xA0ghi"
["abc","def\160ghi"]

Regards,
Malcolm
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to