1--TEST-- 2Test the basics to function iconv. 3--CREDITS-- 4Rodrigo Prado de Jesus <royopa [at] gmail [dot] com> 5--EXTENSIONS-- 6iconv 7--SKIPIF-- 8<?php if(substr(PHP_OS, 0, 3) != 'WIN' ) {die('skip windows only test');} ?> 9--FILE-- 10<?php 11$in_charset = 'UTF-8'; 12$out_charset = 'ASCII//TRANSLIT'; 13$string_to_translate = 'Žluťoučký kůň\n'; 14 15$string_out = iconv($in_charset, $out_charset, $string_to_translate); 16 17var_dump($string_out); 18?> 19--EXPECT-- 20string(16) "Zlutouck'y kun\n" 21