Re: [VOTE] Locale-independent case conversion

From: Date: Thu, 25 Nov 2021 09:08:32 +0000
Subject: Re: [VOTE] Locale-independent case conversion
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-116501@lists.php.net to get a copy of this message
btw why is this code *not* getting dotted capital i on 3v4l? https://3v4l.org/D1WG1#v7.4.26 it gets ["res_hex"]=> string(2) "49" <?php setlocale(LC_ALL, "Turkish"); $str="i"; $res=strtoupper($str); var_dump([ "str"=>$str, "str_hex"=>bin2hex($str), "res"=>$res, "res_hex"=>bin2hex($res), ]); ?> On Thu, 25 Nov 2021 at 09:57, Côme Chilliet <come@chilliet.eu> wrote: > Le jeudi 25 novembre 2021, 06:05:37 CET Tim Starling a écrit : > > Voting is now open for my RFC on locale-independent case conversion. > > > > https://wiki.php.net/rfc/strtolower-ascii > > Hello, > > The RFC is missing information about alternatives: > Do all of these function have an mbstring version? > Are those locale dependant or have an option for it? > > To reuse the example from the RFC, if I want to convert a UTF string to > uppercase using Turkish rules and get dotted capital I, what should I use? > > Côme > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php > >

« previous php.internals (#116501) next »