updates to character-encoding