atom/encoding-selector

Recognise encoding from html meta tag

nice-shot opened this issue · 2 comments

Hi,

It would be very cool if the automatic encoding selector was able to recognise xml and html meta tags. For example:

<meta content="text/html; charset=cp-1255" http-equiv="Content-Type">

Or

<?xml version="1.0" encoding="CP-1256"?>

(I guess the xml one is more common)

We have no plans to expand the scope of encoding-selector to be able to parse and understand specific document structures.