Merge pull request #8 from OldSnapo/master

Fixed bug whit dual class character
CocoaWrapper: fix attempt to mutate an immutable dictionary
aliviate some of the nastiness of the UTF-8 support patch.

reduce repeated code and encapsulate UTF8 specific behavior to where it is used.
Font: more cleanup from messy UTF-8 patch

UTF-8 is now a valid multibyte encoding instead of using them as 2 separate things.
got rid of UTF-8 lookup able in favor of if statements.
hopefully fixed things I broke in the last commit :p
Font: skip current character if it isn’t valid.
if new returns NULL we have bigger problems…
fix clang warning about undefined behavior
I don’t know what was intended, but I can safely say this is a bettwr way of doing the wrong thing :p
Fix clang warnings about garbage values.
Merge remote-tracking branch 'upstream/master'
Upstream update