public function UnicodeTest::testMimeHeaderDecode in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php \Drupal\Tests\Component\Utility\UnicodeTest::testMimeHeaderDecode()
Tests multibyte decoding.
@dataProvider providerTestMimeHeaderDecode @covers ::mimeHeaderDecode
File
- core/
tests/ Drupal/ Tests/ Component/ Utility/ UnicodeTest.php, line 56
Class
- UnicodeTest
- Test unicode handling features implemented in Unicode component.
Namespace
Drupal\Tests\Component\UtilityCode
public function testMimeHeaderDecode($value, $encoded) {
$this
->assertEquals($value, Unicode::mimeHeaderDecode($encoded));
}