Closed Bug 1670396 Opened 4 years ago Closed 4 years ago

FTP directory listing renders Cyrillic unicode characters as Chinese characters

Categories

(Core Graveyard :: Networking: FTP, defect, P5)

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: 13hurdw, Unassigned)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0

Steps to reproduce:

Firefox Ubuntu 20.04

Actual results:

Directories that contain Unicode Cyrillic characters are rendered as Chinese characters in the Firefox FTP directory listing.

In the example, the first directory is
ftp://77.47.193.10/pub/yastrebov/%D0%9E%D0%9A%D0%9C_2011_2012_%D0%9E%D0%A2%D0%A6_%D0%AF%D0%A1%D0%A2%D0%A0%D0%95%D0%91/
The Firefox directory listing is "袨袣袦_2011_2012_袨孝笑_携小孝袪袝袘"

The actual Cyrillic text does get rendered in the URL but not in the directory listing : "ОКМ_2011_2012_ОТЦ_ЯСТРЕБ"

Expected results:

Render Cyrillic unicode correctly in FTP directory listing UI

FTP support will be going away soon.

Severity: -- → S3
Depends on: kill-ftp
Priority: -- → P5
Whiteboard: [necko-triaged]

Filezilla says:

Invalid character sequence received, disabling UTF-8. Select UTF-8 option in site manager to force UTF-8.

This is FTP server issue, not a Firefox issue.

Reporter, are you using Chinese as the Firefox user interface language?

Flags: needinfo?(13hurdw)

I (I'm not a reporter) use English interface, and also see Chinese characters.
This is due to invalid unicode sequence in two folder names, which I assume are incorrectly converted from Ukrainian single-byte encoding to UTF. The other folders are in Russian (probably in CP1251).

There's a folder "Опис Кредитних Модулів з ОТ_", which contains incorrect sequence 0x0D 0x5F.
Filezilla warns and disables UTF support inside this directory, lftp also fails to display it properly.

Reporter, are you using Chinese as the Firefox user interface language?

No

Closing as wontfix per comments above.

Also, Firefox on macOS the rendering is not Chinese characters

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Flags: needinfo?(13hurdw)
Resolution: --- → WONTFIX

(In reply to ValdikSS from comment #4)

I (I'm not a reporter) use English interface, and also see Chinese characters.

This is indicative of an actual bug, but, indeed, most likely not one worth fixing, since this code is supposed to be removed real soon now.

Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: