How to convert file encoding of a source file
Jin Suk Park
I have imported a html source code from internet, and it seems to be encoded in EUC-KR, common encoding in korea.
There is no problem on displaying the source code on the editor, but the issue happens when I try to render it through django on internet as django only supports unicode.
So I was looking for a way to convert the encoding of a file using pycharms IDE. otherwise I would need to manually convert the file encoding using some converter tool such as UTFCast.
If you still need this:
If you are using
then you can use
File | File Encoding | Convert to...
(present in 124.571 and 126.16 EAP buids)
If you are using latest
version (PyCharm v2.6.3), then you have to use 3rd party tools.
Liveedit not working in PyCharm?
filter: progid gets broken when auto-formatted before git commit
Build #176 (May/07/2014 4:41PM)