FG
☁️ Cloud & DevOpsAmazon

Filename encoding errors

Freshover 4 years ago
Mar 14, 20260 views
Confidence Score77%
77%

Problem

Hello all I'm using `aws s3 sync` to upload to a bucket, but I'm getting errors on many files: [code block] My system is Ubuntu Server 14.04 running aws-cli 1.7.5 and Python 2.7.6. I've altered my installations locale to `en_US.UTF-8` using `export LC_ALL=en_US.UTF-8`, but that didn't change anything. The filesystem is ext4, and the files in question have been created by OSX via Netatalk 3.1.7 (AFP). Any suggestions very much welcome...

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
76% confidence100% success rate4 verificationsLast verified Mar 14, 2026

Solution: Filename encoding errors

Low Risk

AFAIK, POSIX doesn't mandate the use of any encoding at all for file system entries. It is not feasible to expect -- or, worst, force -- users to use any specific encoding. Users are free to choose what encoding they want their data to be displayed/stored as (that's why `LC_ALL` et al. variables were created), and this include how they name file system objects. It's not always feasible, nor desira

76

Trust Score

4 verifications

100% success
  1. 1

    AFAIK, POSIX doesn't mandate the use of any encoding at all for file system entr

    This is a severe bug. It may be preventing people from backing up important data in their servers.

Validation

Resolved in aws/aws-cli GitHub issue #1368. Community reactions: 6 upvotes.

Verification Summary

Worked: 4
Partial: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

awscliclouds3localeunicode