Yes, it is easy, with version 2024.0 save the following code as index.php (for example) , using encoding: utf-8 without BOM...
<?php
header('Content-Type: text/html; charset=UTF-8');
?>
<!DOCTYPE html>
<html lang="es" dir="ltr">
<head>
<meta charset="UTF-8">
<meta...