开发者

Euro Symbol in RTF

I'm trying to get a euro symbol to show in in a RTF document, but am not having much luck.

The RTF doc is a template, which is populated with data from .Net (by reading in the text st开发者_如何学Pythonream and replacing tokens within it). One of these tokens relates to a euro symbol. My code is working as expected, in that the output RTF doc contains the euro symbol in the markup (when viewed in notepad), however, when viewed in word, etc. the euro symbol shows up as '€'.

I assume that it's an encoding issue - can anyone help with some suggestions?


The rtf should contain \'80, not the Euro symbol directly. I don't know how you're inserting the tokens, but this is what should be inserted, not the €.

For the full list, see Complete Character List for windows-1258. Thanks Bob.


Quick google search.

Maybe one of these helps: Unicode Character 'EURO SIGN'

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜