Query Encoding Question

Discussion in 'A-Parser Support Forum' started by scrapefun, Apr 29, 2016.

  1. scrapefun

    scrapefun A-Parser Enterprise License
    A-Parser Enterprise

    Joined:
    Feb 24, 2015
    Messages:
    184
    Likes Received:
    34
    I'm using "query.kw | uri" to submit queries to Google with Net::HTTP parser and it works great for the most part since most of my queries are English.

    But if I try an language like Arabic it mangles the queries which ends up looking like gibberish. Which languages should I not encode the query with using query.kw | uri? (I know you can list all possible languages just the type I guess)

    I haven't tried other languages yet but I imagine ones like Korean and Chinese would have similar problems.
     
  2. scrapefun

    scrapefun A-Parser Enterprise License
    A-Parser Enterprise

    Joined:
    Feb 24, 2015
    Messages:
    184
    Likes Received:
    34
    nevermind....I figured it out :)
     

Share This Page