dealing twine containing churned impression encodings
i'm accurately certain ask doubt really, i'm where tie awaiting an answer, i wish someone assistance me.
i'm minute python app connects remote horde receives behind byte data, i empty controlling python's built-in struct module. problem strings, consolidate churned impression encodings. here an instance such string:
"^lthis an instance ^gstring churned ^jcharacter encodings"
where opposite encoding starts ends noted controlling special evade chars:
- ^l - latin1
- ^e - executive europe
- ^t - turkish
- ^b - baltic
- ^j - japanese
- ^c - cyrillic
- ^g - greek
and on... i need proceed modify arrange twine unicode, nonetheless i'm unequivocally certain it. i've review adult python's codecs string.encode/decode, nonetheless i'm zero wiser really. i should plead well, i have control over strings outputted host.
i wish someone assistance me started this.
Comments
Post a Comment