unicode: overflow, fix #963