Solved

Asp.net Sitemap files and special characters

Posted on 2008-06-17
5
706 Views
Last Modified: 2012-06-27
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
0
Comment
Question by:WingYip
  • 3
  • 2
5 Comments
 
LVL 14

Accepted Solution

by:
Dustin Hopkins earned 50 total points
Comment Utility
use one of these instead of yours

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

0
 
LVL 1

Author Comment

by:WingYip
Comment Utility
&#8482;

Thanks the above worked fine.

Wing
0
 
LVL 1

Author Comment

by:WingYip
Comment Utility
By the way do you know why the why '&#0153;)' won't mine work in the sitemap xml file?

Wing

0
 
LVL 14

Expert Comment

by:Dustin Hopkins
Comment Utility
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
 
LVL 1

Author Comment

by:WingYip
Comment Utility
Thanks very much
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now