httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Casadonte <>
Subject [users@httpd] Server Side Includes and diacritics (accented chars)
Date Fri, 29 Dec 2006 20:07:51 GMT
Is there a way to pass diacritics (accented characters) through SSI variables? 
If I pass the actual accented character in:

<!--#set var="page-title" value="Essë" -->

FireFox (pedantically and annoyingly) displays the dreaded
black-diamond-with-a-question-mark in its place.  If I put in the HTML code: 

<!--#set var="page-title" value="Ess&euml;" -->

then it looks as if the SSI is interpreting this HTML code and sending back to
the browser the accented character, not the HTML code, and so the browser
displays the BDWAQM still.

I decided to get fancy and tried something like this:

<!--#set var="page-title" value="Ess&amp;euml;" -->

hoping for a double interpolation, but no luck; it left the &amp; alone (of
course).  I even tried:

<!--#set var="page-title" value="Ess&#225;" -->


<!--#set var="page-title" value="Ess&#xE1;" -->

With the numerical code, I had the same problem as previous -- SSI did the
substituing for me and I wound up with a BDWAQM.  With the hex code, something
somewhere along the way simply deleted the character altogether!

Any ideas?  Thanks and Happy New Year!



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message