String Character Length: Difference between revisions
Content deleted Content added
verified that AWK example only does byte length |
→{{header|C}}: remove incorrect examples |
||
Line 27:
=={{header|C}}==
For wide character strings (usually Unicode uniform-width encodings such as UCS-2 or UCS-4):▼
▲'''Compiler:''' GCC 3.3.3
▲For wide character strings (usually Unicode):
#include <stdio.h>
Line 82 ⟶ 45:
return 0;
}
''TODO: non-standard library calls for system multi-byte encodings, such as _mbcslen()''
=={{header|Objective-C}}==
|