Character encoding detection, brought to you by ICU