[lang-ref] ( convert_charset ) ( php )

<?php
public function testConvertCharset(): void
{
	// mb_convert_encoding
	$sUtf8A = 'あ';
	$bSjisA = mb_convert_encoding($sUtf8A, 'SJIS-win', 'UTF-8');
	$this->assertSame("\x82\xa0", $bSjisA);
}