commit | e0506255b9d37fe97e4a9f10b64dd38833030f1f | [log] [tgz] |
---|---|---|
author | Al Sutton <al@funkyandroid.com> | Fri Nov 21 15:56:59 2014 +0000 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Wed Jan 14 09:41:33 2015 -0800 |
tree | 19bb53e7b5222b70e191276e226def4a86ccd88a | |
parent | dd682ed688d2518fef51713defa4d38656a7a10d [diff] |
Remove explict use of ASCII encoding Replace the use of CFStringGetCString with kCFStringEncodingASCII specified with CFStringGetFileSystemRepresentation which will ensure the correct character encoding is used to conver the CFString into a NULL terminated char array suitable for use with POSIX APIs. (cherry picked from commit cc80294cc82a3b74984feb26701e8ae5761ea3bb) Change-Id: Ie6e2027e59b49ca634c7308bcda7bb492d372f46