Click here to Skip to main content
15,910,358 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I'm sending email using python and want to include euro sign € in the message.

I get the following error
<pre>codec can't encode character '\u20ac' in position 61: ordinal not in range(128)


What I have tried:

I tried replacing
with
\u20ac35.
Posted
Updated 20-Aug-21 0:03am
v3

1 solution

 
Share this answer
 
Comments
Maciej Los 20-Aug-21 8:47am    
5ed!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900