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 (™) to show on one of the navigation buttons. I have entered the button title text followed by the ™ 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
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 (™) to show on one of the navigation buttons. I have entered the button title text followed by the ™ 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
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
By the way do you know why the why '™)' won't mine work in the sitemap xml file?
Wing
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 ™ in decimal notation.
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 ™ in decimal notation.
ASKER
Thanks very much
ASKER
Thanks the above worked fine.
Wing