getFileCharsetSimple

open fun getFileCharsetSimple(filePath: String): String

Return the charset of file simply.

Return

the charset of file simply

Parameters

filePath

The path of file.

open fun getFileCharsetSimple(file: File): String

Return the charset of file simply.

Return

the charset of file simply

Parameters

file

The file.