diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-05-28 16:37:55 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-05-28 16:37:55 +0200 |
| commit | 3d1e12363d0d564dd570a8b654ddd698d42e0074 (patch) | |
| tree | e359cfc1decc4eb6e4d93415a90d3ad82217d26f /lib/troll | |
| parent | e601e1605bfa52d1ce944b915191f5f28c12f138 (diff) | |
| download | plan9front-3d1e12363d0d564dd570a8b654ddd698d42e0074.tar.xz | |
uhtml: check if document is valid utf8 even with charset specified
often, documents specify charsets but are really utf-8 encoded.
we now try to decode as utf-8 and only if that fails assume
the charset specified in the document.
Diffstat (limited to 'lib/troll')
0 files changed, 0 insertions, 0 deletions
