• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

  • 0
Sign in to follow this  

Encoding issue:UnicodeEncodeError: ‘charmap’ codec can’t encode character

Question

tarifa    2

hello dear community, 

 

i have got a encoding issue with ATOM 


btw  it occurs allmost each time i run python scripts. 

do you have any ideas what i can do here: 

    text: https://wordpress.org/support/topic/settings-import-export-2/
        href: Settings Import & Export
        ---------
        Traceback (most recent call last):
          File "C:\Users\Kasper\Documents\_f_s_j\_mk_\_dev_\bs\__wp_1000_request.py", line 82, in <module>
            print(post_content)
          File "C:\Program Files\Python37\lib\encodings\cp1252.py", line 19, in encode
            return codecs.charmap_encode(input,self.errors,encoding_table)[0]
        UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f642' in position 95: character maps to <undefined>
        [Finished in 61.824s]

 

many thanks for any and all help. 

 

regards 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.