Browse Source

set locale (for escapeshellarg)

master
Denis Ryabov 11 years ago
parent
commit
8815f87c01
  1. 1
      habr_twister.php

1
habr_twister.php

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

Loading…
Cancel
Save