Question on Strings

  • Thread starter Kalyankumar Ramaseshan
  • Start date
K

Kalyankumar Ramaseshan

Hi,

Excuse me if this is a repeat question!

I just wanted to know how are strings represented in python?

I need to know in terms of:

a) Strings are stored as UTF-16 (LE/BE) or UTF-32 characters?
b) They are converted to utf-8 format when it is needed for e.g. when storing the string to disk or sending it through a socket (tcp/ip)?

Any help in this regard is appreciated.

Thank you.

Regards
Kalyan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top