Open icyzyy opened 5 years ago
This simply adds the encoding to the selector, does the rest of Atom actually support working with the encoding?
This support only opening file. Is this package effect in any other part of Atom?
This package is just a UI for calling TextEditor::setEncoding
, it doesn't actually do anything itself.
The TextEditor
(and all the underlying code, such as superstring
) need to understand the encoding before adding it here makes any sense.
I have looked into encoding-coversion
in superstring. it use iconv for encoding, and I have checked iconv
for supported encoding and there is Windows 874 (CP874) there. So it should know this encoding.
Requirements
Description of the Change
Add Windows 874 encoding to selector list
Alternate Designs
Use another editor to convert file and save. Then reopen in Atom
Benefits
Support old Thai language projects
Possible Drawbacks
I don't see any possible drawback
Applicable Issues
https://github.com/atom/encoding-selector/issues/41