16 Feb
2012
16 Feb
'12
11:13 a.m.
Hello,
one more question -
- does "regimes.translate" allow to translate between arbitrary encodings or only from the specified to the current one?
----
str = regimes.translate(str, "cp1250") -- = Translate from "cp1250" to the current encoding (UTF) (or always to UTF?)
----
I'm looking for something like:
----
src_enc = "utf8"
tgt_enc = "cp1250"
str = regimes.translate(str, src_enc, tgt_enc)
----
Any idea?
Best regards,
Lukas
On Fri, 10 Feb 2012 13:25:40 +0100, Wolfgang Schuster
str = regimes.translate(str,"cp1250")
-- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038