Req #38138 [Com]: russian encoding detection support

From: Date: Fri, 31 Dec 2010 11:43:24 +0000
Subject: Req #38138 [Com]: russian encoding detection support
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-157410@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=38138&edit=1 ID: 38138 Comment by: rustamabd at gmail dot com Reported by: techtonik@php.net Summary: russian encoding detection support Status: Open Type: Feature/Change Request Package: Feature/Change Request PHP Version: 4.4.2 Block user comment: N Private report: N New Comment: Windows-1251, koi8-r, cp866 are all single-byte CHARSETs, not ENCODINGs. mb_detect_encoding() is not intended to distinguish between charsets, especially single-byte charsets. Its primary purpose is to detect which multibyte encoding is in use, i.e. UTF-8, UTF-16, shift-JIS, etc. Previous Comments: ------------------------------------------------------------------------ [2009-08-29 01:03:55] techtonik@php.net It is not freeware - it's open source. That basically means that you have all the tools to do it yourself and contribute back for others. Or learn some other language. ------------------------------------------------------------------------ [2009-08-28 23:54:53] jehy at valar dot ru Already three years. Still no changes. That's why I hate freeware. ------------------------------------------------------------------------ [2009-03-20 11:14:20] wips at mail dot ru Another version of encoding detector http://popoff.donetsk.ua/file/text/libs/a.charset.php which works with utf8 too. ------------------------------------------------------------------------ [2009-01-21 08:46:35] Roman dot Kyrylych at gmail dot com here's a russian encoding autodetector that can be used after mb_detect_encoding returned false: http://www.opennet.ru/base/dev/charset_autodetect.txt.html ------------------------------------------------------------------------ [2008-10-11 04:40:21] maybeoutput at gmail dot com Two years old bug and still can't detect encoding? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=38138 -- Edit this bug report at http://bugs.php.net/bug.php?id=38138&edit=1

« previous php.bugs (#157410) next »