utf 8 in python3

Alles rund um die Python-Entwicklungsumgebung
Charles
Beiträge: 13
Registriert: Do 19. Apr 2018, 10:45

utf 8 in python3

Beitragvon Charles » Sa 19. Mai 2018, 09:48

Hi,

i am getting error messages about "surrogates not allowed" on a few files that have valid Unicode characters in their names which are correctly encoded in UTF-8. no surrogate codes (U+D800..U+DFFF) are in these file names. this is happening in the huge "aws" command that implements "aws s3 sync" among other things. what i am curious about is what kinds of common coding errors around Unicode/UTF-8 facilities in python3 could end up with these surrogate codes. how did the SOf poster end up with those codes in a non-AWS script? what should i do to fix that "aws" command/script?

Please help.

I didn't find the right soltion from the Internet.

References:
https://python-forum.io/Thread-utf-8-in-python3
Smart contract technology example

Thanks

Zurück zu „Python“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 0 Gäste