set locale (for escapeshellarg)

This commit is contained in:
Denis Ryabov 2014-02-28 19:05:18 +04:00
parent ab95c86c0a
commit 8815f87c01

View File

@ -1,6 +1,7 @@
<?php
mb_internal_encoding('UTF-8');
setlocale(LC_CTYPE, 'en_US.UTF-8');
// Load RSS feed
$feed_uri = 'http://habrahabr.ru/rss/hubs/new/';