note 124078 added to function.strtoupper

From: Date: Sun, 28 Jul 2019 13:08:38 +0000
Subject: note 124078 added to function.strtoupper
Groups: php.notes 
Request: Send a blank email to php-notes+get-211753@lists.php.net to get a copy of this message
This function has a real challenge when it comes to Turkish. In Turkish the ASCII letter 'i' uppercases to a non-ASCII character. This means that PHP cannot upper case it. i.e. for the Turkish locale, strtoupper('i')=='i' This can mess with basic program logic. There's no simple solution. The core problem is discussed more here: http://www.i18nguy.com/unicode/turkish-i18n.html ---- Server IP: 208.43.231.9 Probable Submitter: 82.199.157.54 (proxied: 65.26.220.245) ---- Manual Page -- http://php.net/manual/en/function.strtoupper.php Edit -- https://master.php.net/note/edit/124078 Del: integrated -- https://master.php.net/note/delete/124078/integrated Del: useless -- https://master.php.net/note/delete/124078/useless Del: bad code -- https://master.php.net/note/delete/124078/bad+code Del: spam -- https://master.php.net/note/delete/124078/spam Del: non-english -- https://master.php.net/note/delete/124078/non-english Del: in docs -- https://master.php.net/note/delete/124078/in+docs Del: other reasons-- https://master.php.net/note/delete/124078 Reject -- https://master.php.net/note/reject/124078 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#211753) next »