Utf8-conversion with full format check as proposed by WenYing Luo. Refs: #19.