1--TEST--
2UConverter::setSourceEncoding()
3--CREDITS--
4Andy McNeice - PHP Testfest 2017
5--INI--
6intl.error_level = E_WARNING
7--EXTENSIONS--
8intl
9--FILE--
10<?php
11$c = new UConverter('latin1', 'ascii');
12var_dump($c->getSourceEncoding());
13$c->setSourceEncoding('utf-7');
14var_dump($c->getSourceEncoding());
15?>
16--EXPECT--
17string(8) "US-ASCII"
18string(5) "UTF-7"
19