jurgmay Posted July 22, 2010 Share Posted July 22, 2010 Hi all, I'm having an issue using the £ sign in a text resource and can't figure out where I'm going wrong... I have a text resource called 'Generic Promo Text 1' which contains the following text - QUOTE REFERENCE NUMBER ^0 WHEN PLACING YOUR NEXT ORDER TO RECEIVE A £10 LOYALTY BONUS The code I'm using is this - theStr = TaggedTextFromRaw(Resource("Generic Promo Text 1").content); theStr = ReplaceSubstring(theStr, "^0", Field("doc number")); return theStr; The text that is returned is - QUOTE REFERENCE NUMBER 16113 WHEN PLACING YOUR NEXT ORDER TO RECEIVE A £10 LOYALTY BONUS I can add the line - theStr = ReplaceSubstring(theStr, "£", "£"); before returning 'theStr' but this just doesn't feel right. I'm sure I must be missing something obvious. I've tried returning the text as tagged text and plain text but neither seem to work. Thanks for any input! Regards, Juerg Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.