Solved

Asp.net Sitemap files and special characters

Posted on 2008-06-17
5
708 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

770 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