Which API should I use to get the detail for File Encodings?

Answered

I want to get the global encoding and the project encoding, which API should I use?

0
2 comments
Official comment

See com.intellij.openapi.vfs.encoding.EncodingManager for global and com.intellij.openapi.vfs.encoding.EncodingProjectManager for Project-level settings

Please sign in to leave a comment.