Re: [NTG-context] UTF conversion via Lua (renaming attachments to .scr_)
On 16-2-2012 14:14, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Would it be possible to provide this? I'll provide: regimes.toregime('8859-1',"abcde Ä","?") but you'll have to test and wikify it. Hans -
Re: [NTG-context] UTF conversion via Lua (renaming attachments to .scr_)
On Thu, 16 Feb 2012 13:08:09 +0100, Hans Hagen wrote: no, although it's no big deal to provide that (of course there is then the matter of utf being more complete than the target) src_enc = "utf8" tgt_enc = "cp1250" str = regimes.translate(str, src_enc, tgt_enc) is there a reason