German Umlaut in html

时间:2016-10-20 18:57:25

标签: php html special-characters meta-tags

I see on stackoverflow many threads with these question, but I can't found any answer for my problem. I see the german umlauts anytime and allways as "special characters".

This is my implementation:

<?php
session_start();
error_reporting(E_ALL & ~ E_NOTICE);

require ("plugins/phpmailer/...");
require ('plugins/phpmailer/...');
require ("include/...");
require ("include/...");
require ("include/...");
?>
<html lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css"
    href="css/...">
<script src="http://code.jquery.com/jquery-latest.min.js"
    type="text/javascript"></script>
<script src="javascript/..." 
    type="text/javascript">
</script>
</head>
<body>ähm...

This code doesn't work. I see an special char, but not the ä or what ever... What is wrong in my code?

Sorry for this question, but I can't find any clever solution.

1 个答案:

答案 0 :(得分:0)

This works: ÄËÏ...

What I typed in was (with spaces removed): & # 196 ; & # 203; & # 207; ...

For more information, google HTML umlaut, or see this page or any of several others google will get you.

相关问题