Xirider / LiveCode

Real-time python variable evaluation
MIT License
13 stars 2 forks source link

'utf-8' codec can't encode character '\udc80' in position 745: surrogates not allowed #7

Open bingyupiaoyao opened 2 years ago

bingyupiaoyao commented 2 years ago

got error when open livecode: UnicodeEncodeError: 'utf-8' codec can't encode character '\udc80' in position 745: surrogates not allowed

Almenon commented 2 years ago

This is probably because livecode is using an outdated version (1.3.8) of arepl-backend. The newest version of arepl-backend has a fix for this: https://github.com/Almenon/AREPL-backend/blob/3c209b2768c0bf7d602ad74f8a4d310ba675737a/index.ts#L92

If you want to avoid this error while Xirider works on a fix you can either use AREPL or stick to ASCII characters.

bingyu50 commented 2 years ago

This is probably because livecode is using an outdated version (1.3.8) of arepl-backend. The newest version of arepl-backend has a fix for this: https://github.com/Almenon/AREPL-backend/blob/3c209b2768c0bf7d602ad74f8a4d310ba675737a/index.ts#L92

If you want to avoid this error while Xirider works on a fix you can either use AREPL or stick to ASCII characters.

It works!

vicoo-z commented 1 year ago

Thank you for your answers. I have solved the problem now. Thank you very much