Re: [code] [textadept] Convert to lower/upper case

From: Michal Kottman <k0mpjut0r.att.gmail.com>
Date: Fri, 12 Jul 2019 16:19:07 +0200

On Fri, Jul 12, 2019, 3:13 PM Procházka Lukáš Ing. <LPr.att.pontex.cz> wrote:

> does Lua or TA or Scientilla support conversion to lower/upper case?
> Especially due to country-special characters, like "ěščřĚŠČŘ" in Czech.
>
> ("abcěšč"):upper() gives (not so surprisingly) "ABCěšč", not the correct
> "ABCĚŠČ", so country-specific characters are not converted.
>
> Is there a way to convert character case a better built-in way?
>

Lua does not provide Unicode support y default. Please read through
http://lua-users.org/wiki/LuaUnicode to evaluate options - for your
use-case, you might want to look at "slnunicode" and "icu4lua", see
http://www.luafaq.org/#T1.7

>

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Fri 12 Jul 2019 - 10:19:07 EDT

This archive was generated by hypermail 2.2.0 : Sat 13 Jul 2019 - 06:47:07 EDT