Accommodate incorrect text encoding by some clients using SIR emulation