Only the first encoded param gets a charset. Fixed unit tests to check this.