Re: [NTG-context] UTF conversion via Lua (renaming attachments to .scr_)

2012-02-16 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Thu, 16 Feb 2012 13:08:09 +0100, Hans Hagen pra...@wxs.nl 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

Re: [NTG-context] UTF conversion via Lua (renaming attachments to .scr_)

2012-02-16 Thread Hans Hagen
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 -