Now translates as many characters as it can rather than each individual
name/value pair.