utf8 OSX - cleanup
authorDalai Felinto <dfelinto@gmail.com>
Sat, 22 Oct 2011 09:28:10 +0000 (09:28 +0000)
committerDalai Felinto <dfelinto@gmail.com>
Sat, 22 Oct 2011 09:28:10 +0000 (09:28 +0000)
commitcac4fde224f3dfb2831779df7b61f819a3564e2d
tree647a8f2a5cc4ac40f171fd78064b123b3862237a
parent8f4a01568460ad20c5a5c8a39feadea512e60d8f
utf8 OSX - cleanup

I still think utf8_buf can be 5 (4 bytes + '\0'), but even 6 may not be enough to what is coming next (NFC - precomposedStringWithCanonicalMapping)
incorporating ascii as a subset of utf8. I don't think we need to re-encode it.
U+0000 ~ U+00FF - latin1 set
intern/ghost/intern/GHOST_SystemCocoa.mm