Asp.net Sitemap files and special characters

Hi

I have set up site navigation using the sitemap xml files and all is well... except for 1 tiny detail.

I am trying to get the trademark symbol (&#0153;) to show on one of the navigation buttons.  I have entered the button title text followed by the &#0153; character code in the title section of a <sitemapnode>.  However the symbol is not appearing - only a square box.

Anyone know whats going on?

Wing
LVL 1
WingYipAsked:
Who is Participating?
 
Dustin HopkinsConnect With a Mentor Senior Web DeveloperCommented:
use one of these instead of yours

trademark = &#8482;
registered trademark = &#174;
service mark = &#8480 =
copyright = &#169;
sound recording copyright = &#8471;

0
 
WingYipAuthor Commented:
&#8482;

Thanks the above worked fine.

Wing
0
 
WingYipAuthor Commented:
By the way do you know why the why '&#0153;)' won't mine work in the sitemap xml file?

Wing

0
 
Dustin HopkinsSenior Web DeveloperCommented:
Yes, it's bacause your sitemap is probably encoded in utf-8, and support for 127-159 varies from characterset to characterset.

Windows-1252 and will cause you problems in almost any other character set and should never be used in HTML. You should use the Unicode value, that is &#8482; in decimal notation.
0
 
WingYipAuthor Commented:
Thanks very much
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.