Req #47140 [Opn->Wfx]: Add UTF-8 to convert_cyr_string()

From: Date: Sat, 05 May 2018 12:27:00 +0000
Subject: Req #47140 [Opn->Wfx]: Add UTF-8 to convert_cyr_string()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-215054@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=47140&edit=1 ID: 47140 Updated by: cmb@php.net Reported by: boen dot robot at gmail dot com Summary: Add UTF-8 to convert_cyr_string() -Status: Open +Status: Wont fix Type: Feature/Change Request -Package: Feature/Change Request +Package: Strings related Operating System: Windows Vista Ultimate x64 PHP Version: 5.2.8 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Adding UTF-8 support to convert_cyr_string() does not make much sense to me. Instead I'd rather deprecate the highly specialized function, in favor of using iconv() or mb_convert_encoding() in the first place. If you feel differently, please start the RFC process, see <https://wiki.php.net/rfc/howto>. Previous Comments: ------------------------------------------------------------------------ [2009-01-17 20:44:25] boen dot robot at gmail dot com Description: ------------ Many comments in the convert_cyr_string() function provide some ways of converting cyrilic charsets to UTF-8. It would be great to have those compiled in, and ideally, also have the other convertion - from UTF-8 into the cyrillic charsets. With the iconv library and those comments in place, how difficult would it be to do that? (BTW, when I've used iconv to do UTF-8 to Windows-1251 , I sometimes get an unsupported character error and I'm not sure why even though the text never had any exotic characters... but that's another thing that may be my fault, so I don't consider it a bug just yet) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=47140&edit=1

« previous php.bugs (#215054) next »