Closed Bug 368647 Opened 18 years ago Closed 17 years ago

Uploading chinese filenames in a form

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 162361

People

(Reporter: taras.di, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.9) Gecko/20061206 Firefox/1.5.0.9 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.9) Gecko/20061206 Firefox/1.5.0.9 Choosing a filename with Chinese filenames to upload by using the browse button and the file selector causes the filename to get mangled in the 'text input' section of the file uploading control. eg: Choosing this file: E:\Translation\Website Development\webroot\testing\mock_files\中.txt Results in the following text being displayed in the 'text input' section (prior to form submission) E:\Translation\Website Development\webroot\testing\mock_files\_.txt Copy and pasting the filename into the 'text input' section (eg: E:\Translation\Website Development\webroot\testing\mock_files\中.txt) doesn't result in the filename getting mangled, but inspecting the submitted value using PHP shows that the filename gets mangled to _.txt. Exact same procedures work perfectly in Internet Explorer, so I'm guessing that the problem is something to do with how FF communicates to the Windows filesystem. Reproducible: Always Steps to Reproduce: 1.Go to a page with a file upload control 2.Browse to a file with chinese characters in it 3.Click OK Actual Results: See details Expected Results: Correct filename appears
Sounds like the following
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.