Re: margins definition with LC_NUMERIC=pt_BR

Bob Doan <[email protected]> Fri, 15 Jul 2005 15:56:36 -0400
Newsgroups gmane.text.rlib.user
Message-ID <[email protected]>
Use

rlib_set_locale($rlib, "pt_BR");

instead of setlocale

- bob

On Fri, 2005-07-15 at 16:12 -0300, Everton Luis Berz wrote:
> Hi,
> when I use locale pt_BR my report are showing wrong margins.
> The decimal separator in pt_BR is "," (comma)
> 
> My PHP:
> setlocale(LC_NUMERIC, "pt_BR");
> @dl("rlib.so") or die("Gerador de relatórios não instalado!");
> $rlib = rlib_init() or die(_("Gerador de relatórios não inicializado!"));
> ...
> 
> My XML:
> <Report fontSize="10"
>          orientation="portrait"
>          paperType="'A4'"
>          leftMargin="0.75"
>          topMargin="0.40">
> ...
> 
> 
> I tried use "0,75" and "0,40" but report shows nothing.
> 
> Thanks,



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click