Fixed "instance method setStringEncoding: not found" error from 10.10 SDK.