Re: [RFC] IntlCharsetDetector
| From: | Stanislav Malyshev | Date: | Mon, 11 Apr 2016 23:09:44 +0000 |
| Subject: | Re: [RFC] IntlCharsetDetector | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-92207@lists.php.net to get a copy of this message | ||
Hi!
> With a light push from Stas, I've decided to go ahead and put up
> IntlCharsetDetector for discussion.
> https://wiki.php.net/rfc/intl.charset-detector
>
> I'm still not personally convinced this API is trustworthy enough, but
> it's worth a formal discussion period at least.
The API looks a bit strange - new IntlCharsetDetector($text) and then
detect(). Can't we just have detect([$text])?
--
Stas Malyshev
smalyshev@gmail.com