atom / encoding-selector

Pick an encoding for the current editor
MIT License
21 stars 26 forks source link

Recognise encoding from html meta tag #25

Closed nice-shot closed 8 years ago

nice-shot commented 9 years ago

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)

henrik-ryom commented 9 years ago

+1

damieng commented 8 years ago

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