Reply to Re: strtolower with polish sign

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация