4 lines
178 B
Objective-C
4 lines
178 B
Objective-C
// Return the number of bytes depending on the encoding,
|
|
// here explicitly UTF-8
|
|
unsigned numberOfBytes =
|
|
[@"møøse" lengthOfBytesUsingEncoding: NSUTF8StringEncoding]; // 7
|