Link to home
Start Free TrialLog in
Avatar of WingYip
WingYip

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of Dustin Hopkins
Dustin Hopkins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of WingYip
WingYip

ASKER

&#8482;

Thanks the above worked fine.

Wing
Avatar of WingYip

ASKER

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

Wing

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.
Avatar of WingYip

ASKER

Thanks very much