Jarla Jarla - 2 months ago 5
HTML Question

How can I include a php language file and display ü instead of �?

I have a php file named

german_lang.php
:

$lang['ABOUT_US'] = 'Über uns';


and I include it into my
index.php
:

<?php
include_once 'german_lang.php';
?>
<head>
<meta charset="utf-8">
</head>
<body>
<?php echo $lang['ABOUT_US']; ?>
</body>


But my result is:

�ber uns

The result I wish to have is:

Über uns

Answer
$lang['ABOUT_US'] = 'Über uns';

copy/paste this... is in utf-8

enter image description here

enter image description here

Comments