Null-terminate Text bytestrings #33

Merged
merged 1 commit into from Nov 2, 2012

2 participants

@lukexi
Collaborator

This is to close #31 — 

ByteString.unpack $ encodeUtf8 txt

doesn't null-terminate its arrays, which [NSString stringWithUTF8String:] expects.

Hurray!

@jspahrsummers

Thanks!

@jspahrsummers jspahrsummers merged commit 15ae2ca into jspahrsummers:master Nov 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment