lancer icon indicating copy to clipboard operation
lancer copied to clipboard

Unicode Encode Error

Open NMedvesky opened this issue 3 years ago • 2 comments

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

NMedvesky avatar Dec 31 '21 18:12 NMedvesky

github is displaying the example a bit weird here is the link to the example https://github.com/LeviBorodenko/lancer#Example

NMedvesky avatar Dec 31 '21 18:12 NMedvesky

same, it's not working at all even on examples

leetfin avatar Mar 28 '22 15:03 leetfin