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