With apologies for abusing my blog to do this. I have a few GMail invites to hand out, email me at mlevison at gmail
Yesterday, I had quite a struggle trying to embed to Unicode characters in my xml resource (.resx) files. An example of what I was trying to do:
<data name="Bullet">
<value\>\u2022\</value>
</data>
I've tried '\u2022' or 'U+2022' -- in either case when I use 'Bullet', in my code, the string is U+2022 instead of a bullet character. In the end the solution was simple run the Character Map program (Accessories -> System Tools -> Character Map), find my symbols and copy/paste them into resouce file (opened in VS .NET). Amazingly they appear as the symbols themselves and not the unicode encodings I'd expected.
An alternative approach (suggested by Stuart Celarier) is to define an Entity tag:
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE doc [ <!ENTITY oplus "?"> ] >
<doc>A ? B = B ? A</doc>
I've not taken the time to try this yet although it should work.
Hopefully this post will save some 20+ minutes of Googling. Thanks to Robi Khan for the solution.