Character-set auto-detection: use the default GSM alphabet when we can, and UCS-2 when we have to.