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 
<schuster.wolfg...@googlemail.com> wrote:

    str = regimes.translate(str,"cp1250")


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.      [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to