String case: Difference between revisions
Content added Content deleted
(→{{header|Wren}}: Replaced original with a more extensive solution.) |
m (→{{header|Lua}}: more up to date documentation link) |
||
Line 2,046: | Line 2,046: | ||
</syntaxhighlight> |
</syntaxhighlight> |
||
The [https://www.lua.org/ |
The [https://www.lua.org/manual/5.4/manual.html#6.4 string library] properly works only for ASCII and extended ASCII (depending on the locals) ranges but not for Unicode. |
||
<syntaxhighlight lang="lua">print ( string.upper("ação") ) -- returns AçãO instead of AÇÃO |
<syntaxhighlight lang="lua">print ( string.upper("ação") ) -- returns AçãO instead of AÇÃO |