Accented character error


I have noticed that the user interface of the accented characters, do not appear correctly.

<a href="http://localhost/de/docs">&Uuml;ber uns</a>

What do you be in trouble?


Can you provide some more information? It seems that this problem occurs in Windows environments when the html() field method is used.

The site main contents

        `<main class="main" role="main">

            <div class="wrap">
                <h1>&Uuml;ber uns</h1>
                <div class="intro text">
                  <p>Diese Seite demonstriert, wie man Unterseiten dafür verwenden kann, um zum Beispiel Inhalte für Team-Mitglieder zu speichern und abzurufen. Dieser Ansatz ist vor allem dann sinnvoll, wenn du viele verschiedene Inhalte strukturieren und mit zusätzlichen Bildern und Dateien versehen willst.</p>        </div>
                <hr />

So to legible accents

<?= $page->intro()->kirbytext() ?>

However, here may be a problem
<?= $page->title()->html() ?>

Windows 10 - XAMPP

As I said, if you use $page->title() instead of $page->title()->html(), your problem should go away. I once tested this on Windows and found that if I save the file as UTF-8 without BOM, then I could use the html() field method without any problem.

How do you edit your content? Via the Panel or via a text editor?

Now I understand, thank you for your help. I’m sorry that I did not realize what you have written. I’m blind. I use screen readers. NetBeans IDE

I’m not really familiar with NetBeans, but please check your character encoding settings and make sure that files are UTF-8 encoded. It seems that at least new files saved in UTF-8 character encoding in NetBeans IDE are also saved without BOM.

Maybe this link is helpful.