What are some common issues with character encoding in PHP when including files?

One common issue with character encoding in PHP when including files is that the included files may have different encoding than the main file, leading to display issues or errors. To solve this problem, you can set the character encoding for all included files using the `header()` function in PHP.

<?php
header('Content-Type: text/html; charset=utf-8');
include 'included_file.php';
?>