Display Umlaut in meta tag

S

Steven

Hi,

I'm attempting to display an umlaut in a meta tag like:

<META name="content" Content="hällo">

But all I get when the page is displayed in the browser is:

<META name="content" Content="h?llo">

Is there somekind of escape character I can use to get the umlaut to appear
correctly? I tried using &auml; ,for example, but this does not work.

Thanks in advance,
Steve.


--
 
D

Daniel R. Tobias

Steven said:
I'm attempting to display an umlaut in a meta tag like:

<META name="content" Content="hällo">

But all I get when the page is displayed in the browser is:

<META name="content" Content="h?llo">

What browser? META tags aren't usually displayed by browsers (they're
meta-information, not part of the regular page content), except in
special contexts like "View Source" or "View Page Info", etc.
Is there somekind of escape character I can use to get the umlaut to appear
correctly? I tried using &auml; ,for example, but this does not work.

What "charset" parameter is your server sending with the page, to
indicate what character encoding is in use? The raw 8-bit character
won't necessarily display correctly if the charset parameter is missing
or incorrect. The entity reference (&auml;) or a numeric &#___;
reference ought to work at any rate, but some browsers have bugs. Is
this in Netscape 4 or some other such archaic browser?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top