Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 672449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:29:11+00:00 2026-05-14T00:29:11+00:00

I have a list that I need to send through a URL to a

  • 0

I have a list that I need to send through a URL to a third party vendor. I don’t know what language they are using.

The list prints out like this:

[u'1', u'6', u'5']

I know that the u encodes the string in utf-8 right? So a couple of questions.

Can I send a list through a URL?
Will the u’s show up on the other end when going through the URL?
If so, how do I remove them?

I am not sure what keywords to search to help me out, so any resources would be helpful too.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T00:29:11+00:00Added an answer on May 14, 2026 at 12:29 am

    Can I send a list through a URL?

    No. A URL is just text. If you want a way to package structured information in it, you’ll have to agree that with the provider you’re talking to.

    One standard encoding for structure in URLs, that might or might not be what you need, is the use of multiple parameters with the same name in a query string. This format comes from HTML form submissions:

    http://www.example.com/script?par=1&par=6&par=5
    

    might be considered to represent a parameter par with a three-item list as its value. Or maybe not, it’s up to the receiver to decide. For example in a PHP application you would have had to name the parameter par[] to get it to accept the array value.

    I know that the u encodes the string in utf-8 right?

    No. a u'...' string is a native Unicode string, where each index represents a whole character and not a byte in any particular encoding. If you want UTF-8 bytes, write u'...'.encode('utf-8') before URL-encoding. UTF-8 is a good default choice, but again: what encoding the receiving side wants is up to that application.

    Will the u’s show up on the other end when going through the URL?

    u is part of the literal representation of the string, just the same as the ' quotes themselves. They are not part of the string value and would not be echoed by print or when joined into other strings, unless you deliberately asked for the literal representation by calling repr.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a list of images that need to be displayed. However theres only
I have a drop down list that has options that need to be passed
I have a list of items that I need to update on different intervals.
I have an object in a list that I need to rank several different
I have a list of values such as 12000,12345,123456 that need to be converted
I have a list wrapper that maintains two Tstringlists and a TClassList I need
I have a list/queue of 200 commands that I need to run in a
I have a list of callback functions that I need to invoke when an
I have a list of xml elements that i need to search for specific
I have a list of numbers that i would like to send out onto

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.