Skip to content

Unicode Encode Error #9

@NMedvesky

Description

@NMedvesky

This is the error I keep getting

UnicodeEncodeError: 'charmap' codec can't encode character '\u0399' in position 54: character maps to

Lancer is working for me with simpler programs but breaks and gives me the error on more complex programs
And the example program does not even work it just gives me the error

here is the example I tried

-- start of program --

function that adds two numbers

def addition(a: int, b: int) -> int:

# find sum
result = a + b

# return the sum
return result

if name == 'main':
print("Sum of 1 and 3 is %s" % addition(1, 3))

-- end of program --

I'm using python 3.9.7
and running it on windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions