Autodetection of character encoding.