Thread: DnsQuery_A response encoding issue

  1. #1
    Registered User
    Join Date
    Aug 2012

    Exclamation DnsQuery_A response encoding issue

    Hey guys,

    I have a program that uses DnsQuery_A that is making a TXT request to download raw hex strings in the TXT response. This all works nicely and the TXT data contains the same raw data that I sent, until I send the following string:

    When I retrieve this data from the DnsQuery_A TXT field I get the following string:


    If you can tell me why this is happening, and how I can get the raw data returned, that would be appreciated.

    Last edited by discontent; 08-26-2012 at 05:11 PM.

  2. #2
    train spotter
    Join Date
    Aug 2001
    near a computer
    Sounds like you have a bug...

    If you found this answer less than helpful, you might consider your question, which provided no code, no description of how you convert the data, no example of what does work, etc.

    Because you did not take the time to ask a 'smart question', the 100 odd coders here who could possibly answer your question, looked at it and all ignored it.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to convert string in url encoding to html encoding?
    By Jerel2k11 in forum C Programming
    Replies: 6
    Last Post: 11-06-2011, 09:05 AM
  2. Winhttpopenrequest encoding issue
    By jrrtolkienfan in forum Windows Programming
    Replies: 4
    Last Post: 10-07-2011, 01:55 AM
  3. html encoding issue
    By Checker1977 in forum Tech Board
    Replies: 8
    Last Post: 12-18-2008, 05:18 PM
  4. XML encoding issue
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 05-16-2008, 05:21 AM
  5. DnsQuery_A Return handling
    By BianConiglio in forum Windows Programming
    Replies: 2
    Last Post: 08-15-2005, 07:30 PM

Tags for this Thread