Set default internal charset to UTF8 and change tests accordingly; add function has_e...