conversions to and from arbitrary character sets
