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