![](https://blockmodule.com/wp-content/themes/cocoon-master/images/no-image-320.png)
PHP 文字コードの違うPHPファイルをインクルードする場合。
例えば、index.phpのファイルに記述されたコードはSJIS 、 出力された文字エンコーディングがUTF-8。 index.php ソースはSJISで記述。 出力はphpソースコードで書かれており、出力されたhtmlソースUTF-8・・・ ===================== <!DOCTYPE html> <!--> <html xmlns="" class="ie8 wp-toolbar" dir="ltr" lang="ja"> <html xmlns="" class="wp-tool...