Jan-13-2026, 04:44 PM
(This post was last modified: Jan-13-2026, 04:44 PM by sorynturda.)
Hey guys!
I don't have much experience with Python and I need some clarifications.
What I want to do?
I want to keep the some data in Unicode format. The data is sent to a third-party and stored there.
From what I've read "Python often defaults to using it" (https://docs.python.org/3/howto/unicode.html)
Given the use case:
I recieve the data from multiple databases, some data is recieved as bytes some as string(str).
I do that:
Thanks alot!
Sorin
I don't have much experience with Python and I need some clarifications.
What I want to do?
I want to keep the some data in Unicode format. The data is sent to a third-party and stored there.
From what I've read "Python often defaults to using it" (https://docs.python.org/3/howto/unicode.html)
Given the use case:
I recieve the data from multiple databases, some data is recieved as bytes some as string(str).
I do that:
data = recieved_data.decode("utf-8").Is there anything to do to convert the recieved data to Unicode?Thanks alot!
Sorin
