Utf-8 and account handling fixes