commit | 77262e7db26a244ef013fcafc561ccd93c047a52 | [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 | d62e28ee28ea7243bdf0c951d27d95cb4c81586c | |
parent | d5b41767886de71e570edea98fd80228bb1211af [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 2a4b5f9e804f019c0d565c86579f07963989ed1b) Change-Id: Ie6e2027e59b49ca634c7308bcda7bb492d372f46