If it's all ASCII, then you could just insert 0 bytes every other byte. I'm not sure if they need to be before or after. (I think it depends on LSB or MSB, and therefore platform.) But yeah, if it's true ASCII, then just calling it UTF-8 works just fine.
Er, bad phrasing there, I suppose... I mean strings containing hex bytes as pairs of ASCII characters. Basically it’s going to require me to convert two‑character strings ([0-9A-F]{2}) to integers, bitor them with 0xFC, etc., etc..
no subject
Date: 2004-10-12 02:41 pm (UTC)no subject
Date: 2004-10-12 04:02 pm (UTC)