Re: charencoding

Jean-Christophe Michel <jc.michel-/aRvmaKoZxNWk0Htik3J/[email protected]> Fri, 06 May 2005 18:55:25 +0200
Newsgroups gmane.comp.lib.binarycloud.devel
Message-ID <[email protected]>
B. Kamer wrote:
> hi,
> 
> with the new encoding sceme in bc i am having a bit off trouble  merging
> bc and legacy code. I would basicly have like to have you  input wheter
> the following is possible (it seems to work) or perhaps  i am thinking
> to simple here. Ofcourse the i18n conf has iso-8859-1  as encoding.
> 
> basicly the question would be is switching of internal encoding  allowed
> in this way. Are existing globals/vars converted  automatically or are
> they left alone... are there any obvious  considerations.

Not sure understand. You could have your ob_grab in your external code,
then end with iconv($grabbed_output,...);
maybe another solution would be to have $conf->temporarilySet(path,
value); ?

-- 
Jean-Christophe Michel
_______________________________________________
dev mailing list
dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected]
http://lists.binarycloud.com/mailman/listinfo/dev