Hello Hans, thank you for the extension; I've tested and it works perfectly.
On Thu, 16 Feb 2012 23:56:44 +0100, Hans Hagen <pra...@wxs.nl> wrote:
regimes.toregime('8859-1',"abcde Ä","?") but you'll have to test and wikify it.
I'll going to wikify it - - I supppose: regimes.toregime(<target-regime>, <text-to-convert>, <third-arg>) so question - what is the <third-argment> used for? Maybe as default character when the UTF code cannot be mapped to <target-regime>? (It didn't happen in my case, so I can just estimate what <third-arg> is for.) Best regards, Lukas
Hans
-- 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 ___________________________________________________________________________________