purescript / purescript-strings

String utility functions, Char type, regular expressions.
BSD 3-Clause "New" or "Revised" License
54 stars 71 forks source link

Add explanation of UTF-16 to README. #114

Closed chexxor closed 5 years ago

chexxor commented 5 years ago

This will likely need some revision. It currently has all the key information I'd like to see available in this library, or linked to from this library. It might be better placed in the purescript/documentation project, which is fine, but I'd still like to see this library have some introduction to UTF-16 pitfalls and how it affects this library's design.

hdgarrood commented 5 years ago

I think this is a little bit muddled because it tries to explain code points, perceived characters, and encodings all at the same time. We'll need a fair bit more space than this to explain it properly. I'd rather link to an existing write-up if we can find a good one, I think.

@michaelficarra might also have some useful feedback.