|
Posted by Mladen Gogala on 07/08/07 23:46
On Sun, 08 Jul 2007 03:32:33 -0700, robert.szczepanski wrote:
> Hi everybody;
>
> I can't change polish sign to small letter.
>
> This is my php script:
>
> <?php
>
> setlocale(LC_ALL, "pl_PL.UTF-8") ; //this function return
> "pl_PL.UTF-8"
> echo strtolower('ŻÓŁTA WODA');
>
> ?>
>
> When I have executed my script
> the polish letter has still capital.
>
> The result is "ŻÓŁta woda" in my firefox. The letter "TA WODA" change
> ok i.e "ta woda" but polish letter no change good i.e. "ŻÓŁ" => "ŻÓŁ".
> it has still the same.
>
> I have tried to use: "header('Content-type: text/
> html;charset=pl_PL.UTF-8'); " but
> result has still the same.
>
> Any sugestion or comment how to corrent change this sign to small letter
> I am greatly appreciated.
>
> Robert.
Have you tried setting locales with "setlocale" function? I don't know
much about Polish, but you should be able to get away with something like
setlocale(LC_ALL,"pl_PL");
--
http://www.mladen-gogala.com
Navigation:
[Reply to this message]
|