Python Forum
asyncio encode and decode, how good are they?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
asyncio encode and decode, how good are they?
#2
I wasn't familiar with what you're asking about, but it looks like you're referring to streams. However, encode and decode there aren't part of strings, they're part of normal string operations (it looks like you were confused, reading the docs). As far as that goes, I'm not sure what you mean about security with respect to those two methods. It's just a matter of whether you're treating a bunch of characters as lower-level bytes or a unicode string.

I'm afraid you're asking a question with some goal in mind. It might be helpful to tell us the goal, and we can help you get there, rather than trying to go through things that could potentially be skipped to get to your goal.
Reply


Messages In This Thread
RE: asyncio encode and decode, how good are they? - by micseydel - Sep-03-2019, 11:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  encode/decode to show correct country letters in a CTk combobox janeik 2 767 Sep-02-2023, 09:46 AM
Last Post: janeik
Question UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 562: ord ctrldan 23 5,101 Apr-24-2023, 03:40 PM
Last Post: ctrldan
  Decode string ? JohnnyCoffee 1 848 Jan-11-2023, 12:29 AM
Last Post: bowlofred
  UnicodeEncodeError: 'ascii' codec can't encode character '\xfd' in position 14: ordin Armandito 6 2,830 Apr-29-2022, 12:36 PM
Last Post: Armandito
  'NoneType' object has no attribute 'encode' bhagyashree 6 8,952 Nov-05-2020, 03:50 PM
Last Post: deanhystad
  how to encode and decode same value absolut 2 2,397 Sep-08-2020, 09:46 AM
Last Post: TomToad
  TypeError: ENCODE Method, str instead of byte Rajath 1 2,811 May-09-2020, 06:05 PM
Last Post: bowlofred
  struct.decode() and '\0' deanhystad 1 3,271 Apr-09-2020, 04:13 PM
Last Post: TomToad
  Getting decode error. shankar 8 10,488 Sep-20-2019, 10:05 AM
Last Post: tinman
  UnicodeEncodeError: 'charmap' codec can't encode character '\u2019' in position 23: c kapilan15 2 4,471 Jan-14-2019, 09:11 PM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020