detectEncoding          detect encoding of input string
detectFileEncoding      detect file encoding for inputted file
