Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to change default date language?
#10
(2014-10-30, 06:42:52)shawn_a Wrote: setlocale(LC_ALL, 'pl-PL');

In fact, you have to put
Code:
setlocale(LC_ALL, pl_PL.UTF-8);
to avoid the character encoding errors in Shawn's example.

pl_PL.UTF-8: środa, 29 październik, 2014
pl_PL: �roda, 29 pa�dziernik, 2014
--
Nick.
Reply


Messages In This Thread
How to change default date language? - by none20 - 2014-10-30, 03:31:37
RE: How to change default date language? - by hameau - 2014-10-30, 07:02:35



Users browsing this thread: 2 Guest(s)