My html php page does not display utf-8 characters

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 5
Joined: Mon May 24, 2021 8:38 am

Sat Jun 05, 2021 7:50 am

My php/html page does not display utf-8 characters correctly. Any suggestion?

utf8 does not display.jpg
utf8 does not display.jpg (103.24 KiB) Viewed 295 times
php-forum Fan User
php-forum Fan User
Posts: 137
Joined: Mon Jun 08, 2020 2:00 am

Sun Jun 06, 2021 4:29 am

It may be that your web page is not being served as UTF8. Try adding this line immediately after your opening <HEAD> tag:

Code: Select all

<meta charset="utf-8"/><!-- add this line -->
Post Reply