[NTG-context] (Ctx)Lua, diacritics & string.upper()

Wolfgang Schuster schuster.wolfgang at googlemail.com
Tue Apr 5 18:30:34 CEST 2011

Am 05.04.2011 um 18:28 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

> Hello,
> is there a possibility to use Ctx Lua to convert strings containing diacritics to upper/lower case?
> I have a .cld file, UTF-8, and
> ("Přehledná"):upper() gives "PřEHLEDNá"
> whilst the desired result is "PŘEHLEDNÁ".
> Is there a way how to solve this? (Maybe another function than Lua's "string.upper()".)



More information about the ntg-context mailing list