PHPackages                             diggin/diggin-http-charset - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. diggin/diggin-http-charset

ActiveLibrary

diggin/diggin-http-charset
==========================

Detecting based on header's charset and html meta charset. Automatically convert to UTF-8.

1.0.0(7y ago)83.1k53LGPL-2.0+PHPPHP &gt;=5.3.3

Since Oct 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/diggin/Diggin_Http_Charset)[ Packagist](https://packagist.org/packages/diggin/diggin-http-charset)[ RSS](/packages/diggin-diggin-http-charset/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (3)Versions (8)Used By (3)

Diggin\_Http\_Charset
=====================

[](#diggin_http_charset)

Automatically convert to UTF-8.

Master: [![Build Status](https://camo.githubusercontent.com/877f917a46c538b6166de5667067023a7c93a5b137ec2bf9b8da2372684942e1/68747470733a2f2f7472617669732d63692e6f72672f64696767696e2f44696767696e5f487474705f436861727365742e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/diggin/Diggin_Http_Charset)[![Coverage Status](https://camo.githubusercontent.com/41a0fc680d0dfab287b2a8ee3765e4abad458976893cda03a5992005414f577a/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f64696767696e2f44696767696e5f487474705f436861727365742f62616467652e706e67)](https://coveralls.io/r/diggin/Diggin_Http_Charset)

Detecting based on header's charset &amp; html meta charset.

(handling several charset more carefully - SJIS-win, TIS-620 and others..)

This library aims to used in web-scraping.

Requirements
------------

[](#requirements)

- PHP 5.3 or over
- mbstring and iconv

Usage
-----

[](#usage)

1. wrap response object:

```
