diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-04-27 20:58:29 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-04-27 20:58:29 +0200 |
commit | ebe5de98275f9c512d32d8163005f17ce0ee8dd9 (patch) | |
tree | a9ed1b64b5c73d1a8478272fe21f3ad9f6cf2de2 | |
parent | 87f2789f542922756ce401d590029bafc4a1663a (diff) |
Fix usage of U8()
-rw-r--r-- | man/u8len.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man/u8len.3 b/man/u8len.3 index 84d25c0..75dc668 100644 --- a/man/u8len.3 +++ b/man/u8len.3 @@ -1,4 +1,4 @@ -.Dd 10 March 2024 +.Dd 27 April 2024 .Dt U8LEN 3 .Os .Sh NAME @@ -34,13 +34,13 @@ will return 17 while the call to will return 22 as a result of use of multibyte-characters in .Fa s . .Bd -literal -offset indent -struct u8view sv = U8V(u8\(dq„Der Große Duden“\(dq); +struct u8view sv = U8(\(dq„Der Große Duden“\(dq); size_t blen = strlen((char *)sv.p); size_t cplen = u8len(U8_ARGS(sv)); .Ed .Sh SEE ALSO .Xr u8gcnt 3 , -.Xr U8V 3 , +.Xr U8 3 , .Xr unicode 7 , .Xr utf\-8 7 .Sh STANDARDS |