Slight changes to UTF8 stuff

More indicative error messages, and prefer localised string functions to
methods.