transform trailing spaces into \u0020