setlocale problem
Posted by: aborjin (---.186-61698.ttnet.net.tr)
Date: May 11, 2008 04:09PM

hi all,

I can not use setlocale function on WampServer 2.0

var_dump(setlocale(LC_ALL, 'tr_TR'));
this codes output is : bool(false)

how can I fix this problem?

Options: ReplyQuote
Re: setlocale problem
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: May 11, 2008 04:44PM

Have u managed to get it working on windows before? im aware that turkish on windows machine is very spotty. depends on the indivual computer. have u tried another char type? utf-8 i presume you on now

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: setlocale problem
Posted by: aborjin (---.186-61698.ttnet.net.tr)
Date: May 11, 2008 11:53PM

thanks for reply steven,

i tried 'de_DE', 'fr_FR' but the result is same.

var_dump(setlocale(LC_ALL, 0));
this codes output is : string(78) "LC_COLLATE=C;LC_CTYPE=Turkish_Turkey.1254;LC_MONETARY=C;LC_NUMERIC=C;LC_TIME=C"
and works perfectly for me but i think that the locale functionality is not implemented on my platform

do u have any idea?

Options: ReplyQuote


Sorry, only registered users may post in this forum.