Skip to content
Browse files

locale c

  • Loading branch information...
1 parent 087ed15 commit 5730918f9f66ca17d43824f747c8383817ba27ec @tommyrot committed Nov 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 sss.php
View
4 sss.php
@@ -70,9 +70,9 @@
public function __construct()
{
/**
- * Explicitly set the locale to C so we won't run into unexpected results between platforms.
+ * Explicitly set the locale to C (POSIX) for all categories so we won't run into unexpected results between platforms.
*/
- setlocale(LC_CTYPE, 'C');
+ setlocale(LC_ALL, 'C');
/**
* Use UTC until user specified timezone is loaded.

0 comments on commit 5730918

Please sign in to comment.
Something went wrong with that request. Please try again.