how to display this charactor in page Schönefeld .
it display like Sch�nefeld

Recommended Answers

All 6 Replies

It should not be a problem if you use UTF-8 I guess. But anyway, the character code for ö is ö or ö.

<p>Sch&ouml;nefeld</p>

is there any way to get without character code.?

Where is the name comming from? The database or is it just a part of plain HTML? And what editor are you usinh?

its coming form Database

So you have to make sure the database collation is the right one and also that the DB connection collation is OK (in mysql utf8_unicode_ci is pretty safe). Also you can use this query upon connecting:

SET NAMES utf8

In HTML it is good idea also to set a meta tag:

<meta charset="UTF-8">
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.