Merge branch 'bugfix/doc_n_spaces'
This commit is contained in:
commit
188f713900
83 changed files with 224 additions and 224 deletions
|
@ -64,7 +64,7 @@
|
|||
|
||||
-(std::wstring)tostdwstring
|
||||
{
|
||||
// According to wikipedia, Mac OS X is Little Endian on x86 and x86-64
|
||||
// According to Wikipedia, Mac OS X is Little Endian on x86 and x86-64
|
||||
// http://en.wikipedia.org/wiki/Endianness
|
||||
NSData* asData = [self dataUsingEncoding:NSUTF32LittleEndianStringEncoding];
|
||||
return std::wstring((wchar_t*)[asData bytes], [asData length] / sizeof(wchar_t));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue