[php-src] Issue #20349: ucwords() is ASCII-only (Have we a possibility to support UTF-8?)

From: Date: Fri, 31 Oct 2025 16:49:56 +0000
Subject: [php-src] Issue #20349: ucwords() is ASCII-only (Have we a possibility to support UTF-8?)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-251161@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/20349 Author: zakariaarrid ### Description The following code: ```php <?php $str = "élève intelligent"; echo ucwords($str); ``` Resulted in this output: ``` élève Intelligent ``` But I expected this output instead: ``` Élève Intelligent ``` ### PHP Version ```plain PHP 8.4.1 (cli) (built: Nov 21 2024 08:58:37) (NTS) Copyright (c) The PHP Group Zend Engine v4.4.1, Copyright (c) Zend Technologies with Zend OPcache v8.4.1, Copyright (c), by Zend Technologies ``` ### Operating System macOS

« previous php.bugs (#251161) next »