Encoding.ASCII.GetBytes and the pound sign RRS feed

  • Question

  • I am using the Encoding.Ascii.GetBytes and for some reason it interprets the £ sign as a ? symbol. Is there a way around this. What is the reason for this. Cheers, Chris.


    • Edited by Fresno Bob Monday, October 29, 2012 7:04 PM
    Monday, October 29, 2012 7:04 PM


  • Quoted from another thread "the pound sign is not in the ASCII character range. Try Encoding.UTF8 instead of Encoding.ASCII, that should solve the problem."

    You've taught me everything I know but not everything you know.

    • Proposed as answer by .paul. _ Monday, October 29, 2012 7:58 PM
    • Marked as answer by Youen Zen Thursday, November 8, 2012 8:09 AM
    Monday, October 29, 2012 7:41 PM