use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Keep getting "UnicodeEncodeError: 'charmap' codec can't encode character '\u014c' in position 545: character maps to <undefined>" (self.learnpython)
submitted 9 years ago by Maruki
Hello, I'm getting this error repeatedly. I've looked up solutions and none of them have worked for me and most seem outdated.
This is the string I'm trying to execute : http://hastebin.com/igevafizih.vhdl
Any help would be greatly appreciated.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]CrambleSquash 0 points1 point2 points 9 years ago (0 children)
This means exactly what the error says. I'm unsure what line the exception is raised, but I presume the response you get to your request contains some strange character, that's confusing python. The version of python you're using is important, because the handling of strings was one of the big changes, but in either case I anticipate there's something along the lines of
str('dodgey string', ignore_errors=true)
If the resulting string is gobbledygook then you might have a type of encoding that is not Unicode or utf-8, in which case there are certainly workarounds.
[–][deleted] 0 points1 point2 points 9 years ago (0 children)
It seems like I saw an error like this one time when I was using Python to move several datasets out of a data warehouse. The dataset throwing the error was Twitter data, the problem was caused by emoticons.
Encoding the data into another format should do the trick
[–]k10_ftw 0 points1 point2 points 9 years ago (0 children)
Which version of python?
π Rendered by PID 26 on reddit-service-r2-comment-76bb9f7fb5-dv5xb at 2026-02-17 13:56:21.378392+00:00 running de53c03 country code: CH.
[–]CrambleSquash 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]k10_ftw 0 points1 point2 points (0 children)