2017 © Pedro Peláez
 

library detect_encoding

Cyrillic text encoding detection class

image

cnpait/detect_encoding

Cyrillic text encoding detection class

  • Saturday, December 13, 2014
  • by cnpait
  • Repository
  • 1 Watchers
  • 6 Stars
  • 540 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 14 Forks
  • 0 Open issues
  • 1 Versions
  • 14 % Grown

The README.md

Cyrillic text encoding detection class

Detect utf-8, windows-1251, koi8-r, iso8859-5 cyrillic encoding, (*1)

Installation with Composer

Declare detect_encoding as a dependency in your projects composer.json file:, (*2)

``` json { "require": { "ivanmtw/detect_encoding": "dev-master" } }, (*3)


Usage Example ------------- ```php detectMaxRelevant($text); ?>

Requirements

PHP 5.3 and up.

Класс для определения кодировки текста. Использует статистические методы, см. исходные статьи:, (*4)

  • http://habrahabr.ru/post/107945/
  • http://habrahabr.ru/post/127658/

Код является оберткой, готовой к эксплуатации, на основе https://github.com/m00t/detect_encoding/, (*5)

The Versions

13/12 2014

dev-master

9999999-dev https://github.com/cnpait/detect_encoding

Cyrillic text encoding detection class

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

encoding cyrillic mb_detect_encoding