Lore archive · Warcraft Wiki, 2023 dump
API strlenutf8
Last wiki revision 2023-03-19
Returns the number of characters in a UTF8-encoded string. amount = strlenutf8(str)
- str: - UTF8-encoded string.
- amount: - Number of characters in string.
For many operations, strlen may suffice. However; with non-English localization and accented player names, strlen may not return the correct amount of characters.
Non-accented Latin Characters:
Accented Latin Characters:
Lua functions
Source
https://warcraft.wiki.gg/wiki/API_strlenutf8 · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.