[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Asp.net Sitemap files and special characters

Posted on 2008-06-17
5
Medium Priority
?
714 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 14

Accepted Solution

by:
Dustin Hopkins earned 200 total points
ID: 21840043
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
ID: 21844728
&#8482;

Thanks the above worked fine.

Wing
0
 
LVL 1

Author Comment

by:WingYip
ID: 21844736
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
ID: 21846107
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
ID: 21846438
Thanks very much
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

656 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