You are here

public function UTF8UtilsTest::testConvertToUTF8 in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/masterminds/html5/test/HTML5/Parser/UTF8UtilsTest.php \Masterminds\HTML5\Tests\Parser\UTF8UtilsTest::testConvertToUTF8()

File

vendor/masterminds/html5/test/HTML5/Parser/UTF8UtilsTest.php, line 9

Class

UTF8UtilsTest

Namespace

Masterminds\HTML5\Tests\Parser

Code

public function testConvertToUTF8() {
  $out = UTF8Utils::convertToUTF8('éàa', 'ISO-8859-1');
  $this
    ->assertEquals('éàa', $out);
}