On 17-2-2012 09:09, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
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
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>?
yes
(It didn't happen in my case, so I can just estimate what <third-arg> is for.)
then you should make a test for it (just take some chinese character and see if it becomes a ?) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------