How to convert file encoding of a source file
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.
Any solutions?
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.
Any solutions?
1 条评论
排序方式
日期
投票数
If you still need this:
- If you are using EAP builds then you can use File | File Encoding | Convert to... (present in 124.571 and 126.16 EAP buids)
- If you are using latest stable version (PyCharm v2.6.3), then you have to use 3rd party tools.
请先登录再写评论。