luautf8
luautf8 copied to clipboard
Function title does the same thing as function upper
It seems like function title does the same thing as function upper:
local lua_utf8 = require("lua-utf8")
local str = 'någonting, нічого, τίποτα'
print(lua_utf8.title(str))
print(lua_utf8.upper(str))
NÅGONTING, НІЧОГО, ΤΊΠΟΤΑ
NÅGONTING, НІЧОГО, ΤΊΠΟΤΑ
Just for clarity:
str = 'någonting, нічого, τίποτα'
title = NÅGONTING, НІЧОГО, ΤΊΠΟΤΑ
upper = NÅGONTING, НІЧОГО, ΤΊΠΟΤΑ
expected title = Någonting, Нічого, Τίποτα
luautf8 0.1.6-1