waded through Unicode hell