powered by
detect encoding of input string
detectEncoding(str)
input string
encoding name
https://code.google.com/p/uchardet/