title: PHP iconv greek/cyrillic transliteration does not work
body: <p>i have the following test code:</p>
  
  <pre><code>setlocale(LC_ALL, 'en_US.UTF8');
  function t($text)
  {
      echo "$text\n";
      echo "encoding: ", mb_detect_encoding($text), "\n";
  
      // transliterate
      $text = iconv('UTF-8', 'ASCII//TRANSLIT//IGNORE', $text);
      echo "iconv: ", $text, "\n";
  }
  
  // Latvian alphabet
  t('AĀBCČDEĒFGĢHIĪJKĶLĻMNŅOPRSŠTUŪVZŽ aābcčdeēfgģhiījkķlļmnņoprsštuūvzž');
  // Greek alphabet
  t('ΑαΒβΓγΔδΕεΖζΗηΘθΙιΚκΜμΝνΞξΟοΠπΡρΣσςΤτΥυΦφΧχΨψΩω');
  // Cyrillic alphabet + some rarer versions
  t('АБВГДЕЖЅЗИІКЛМНОПҀРСТѸФХѠЦЧШЩЪꙐЬѢꙖѤЮѦѪѨѬѮѰѲѴ абвгдеёжзийклмнопрстуфхцчшщъыьэюя');
  </code></pre>
  
  <p>and its output:</p>
  
  <pre><code>AĀBCČDEĒFGĢHIĪJKĶLĻMNŅOPRSŠTUŪVZŽ aābcčdeēfgģhiījkķlļmnņoprsštuūvzž
  encoding: UTF-8
  iconv: AABCCDEEFGGHIIJKKLLMNNOPRSSTUUVZZ aabccdeefgghiijkkllmnnoprsstuuvzz
  
  ΑαΒβΓγΔδΕεΖζΗηΘθΙιΚκΜμΝνΞξΟοΠπΡρΣσςΤτΥυΦφΧχΨψΩω
  encoding: UTF-8
  iconv: 
  
  АБВГДЕЖЅЗИІКЛМНОПҀРСТѸФХѠЦЧШЩЪꙐЬѢꙖѤЮѦѪѨѬѮѰѲѴ абвгдеёжзийклмнопрстуфхцчшщъыьэюя
  encoding: UTF-8
  iconv: 
  </code></pre>
  
  <p>it essentially IGNOREs all greek and cyrillic characters. why?</p>
  
  <p>i have tested on two environments, where <code>php -i | egrep "iconv (implementation|library)"</code> outputs either:</p>
  
  <pre><code>iconv implementation =&gt; libiconv
  iconv library version =&gt; 1.11
  </code></pre>
  
  <p>or:</p>
  
  <pre><code>iconv implementation =&gt; libiconv
  iconv library version =&gt; 1.13
  </code></pre>
  
  <p>i have also tried setting ivonv internal encoding to UTF-8, adding/removing the <code>setlocale</code> function, but all of no avail. iconv seems to recognise only latin and derived-from-latin characters.</p>
  
  <p><strong>UPDATE</strong>: It must be a problem with iconv as terminal command <code>echo 'ΑαΒβΓγΔδ' | iconv -f utf-8 -t ASCII//TRANSLIT</code> produces an error <code>iconv: (stdin):1:0: cannot convert</code>, while <code>echo 'āēī' | iconv -f utf-8 -t ASCII//TRANSLIT</code> works and outputs <code>aei</code>, as expected.</p>
  
  <p><code>iconv --version</code> outputs <code>iconv (GNU libiconv 1.14)</code> (besides the copyright information).</p>