Folks!
I am trying to display ® and superscript TM symbols in my silverlight app. I want to save the text containing the symbols in a resx file.
Things i have tried:
Copy paste the ® symbol from any document to resx file. ® symbol gets displayed in the resx file. But, when running the silverlight app, xamlparseexception is thrown.
Use unicode text ® instead of ® symbol in the resx file. Same xamlparseexception thrown.
My resx file encoding is utf-8.
Appreciate your thoughts!
EDITED:
Incorrectly mentioned @ instead of ®.
Redbox in the snapshot is how the symbol gets displayed in Silverlight. Bluebox is how it needs to be displayed.
EDIT 2 and SOLUTION: The way the symbols are displayed are dependant on the font used. Also, displaying superscripts in Silverlight is a bit tricky. But, the simplest solution i found was to create the superscript text in Windows character map tool and copy paste it your app resource file.