Added tests to detect Unicode charsets.