Is is possible to convert Illegal string to something for adb pull?

I’m trying to do some screenshots in android project and adb pull the screenshots to local macbook.

But got the error message when the file name has some special chars.

adb: error: cannot create '/Users/hellot/Notroid/app/screenshots/./🤪��_ERROR.png': Illegal byte sequence