Encoding option support per file type

Started by photon, September 02, 2010, 06:17:30 PM

Previous topic - Next topic

photon

It would be nice to have such feature. I'm from Russia and has some "additional moves" for *.bat and *.cmd files (they are in cp866 encoding but system encoding is Win1251) - so I have to change encoding for each file on the first editing.

Can you introduce such option support for each file type (for example, it is system encoding by default)?

Thank you.

alex

Hi photon,

already done. Check this post.
You are interested in this:
Quote2) Set, for syntax you are using, forced encoding:
Code:
<Encoding default="852" force="true"/>
in SPECIFICATION section of schema spec file.
for usage examples just search for "<Encoding" among syntax files.

Something like this should work as you want:
<Encoding default="0" force="true"/>
0 means CP_ACP, system default encoding (in your case 1251).

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]