I'm trying to run this CLI command in the AWS S3 console (it contains arabic characters):
aws s3 cp 's3://freedcampfilestorage/30__Gigamax_Head_DA4/اشعار فاتورة 365-32507.jpg' 's3://freedcampfilestorage/30__Gigamax_Head_DA4/اشعار فاتورة 365-32507.jpg' --metadata-directive REPLACE
--content-disposition='inline; filename="اشعار فاتورة 365.jpg"' --profile=default >> fixer.log 2>&1
This returns:
'ascii' codec can't decode byte 0xd8 in position 47: ordinal not in range(128)
Is there something I can do to make this work with non standard ASCII characters? Can I represent non standard ascii characters numerically and still make it work?