Character encoding issue

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
satimis
500 Syntax error
Posts: 17
Joined: 2013-03-09 09:02
First name: Stephen
Last name: Liu

Character encoding issue

#1 Post by satimis » 2019-12-01 15:43

Hi all,

OS - Ubuntu 18.04 desktop

On selecting the directory on client following warning popup:-
Character encoding issue
A local filename could not be decoded.
Please make sure the LC_CTYPE (or LC_ALL) environment variable is set correctly.
Unless you fix this problem, files might be missing in the file listings.
No further warning will be displayed this session.
The name of files on both server and client can't be read
PRI... 33... CA... 09/1
asu... 86... jpg... 10/2

On client terminal
$ cat /etc/default/locale
# File generated by update-locale
LANG="en_HK.UTF-8"
LANGUAGE="en_HK:en"
Please help. Thanks

Regards
satimis

User avatar
botg
Site Admin
Posts: 35508
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Character encoding issue

#2 Post by botg » 2019-12-01 17:53

Rename the offending file so that it no longer displays wrongly encoded characters.

satimis
500 Syntax error
Posts: 17
Joined: 2013-03-09 09:02
First name: Stephen
Last name: Liu

Re: Character encoding issue

#3 Post by satimis » 2019-12-02 02:47

botg wrote:
2019-12-01 17:53
Rename the offending file so that it no longer displays wrongly encoded characters.
Hi,

Thanks for your advice.

All files both local and server display wrongly encoded characters. If copy/paste them to local text file they display correct names. I suppose having set up Filezila correctly during installation.

I have been running Filezilla sometimes but this is my first time encountering the problem. This is a new PC and Filezilla is recently installed.

Regards
satimis

User avatar
botg
Site Admin
Posts: 35508
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Character encoding issue

#4 Post by botg » 2019-12-02 08:14

From the terminal, what happens if you start FileZilla like this:

Code: Select all

LC_CTYPE="en_HK.UTF-8" filezilla

satimis
500 Syntax error
Posts: 17
Joined: 2013-03-09 09:02
First name: Stephen
Last name: Liu

Re: Character encoding issue

#5 Post by satimis » 2019-12-02 10:23

botg wrote:
2019-12-02 08:14
From the terminal, what happens if you start FileZilla like this:

Code: Select all

LC_CTYPE="en_HK.UTF-8" filezilla
Hi,

~$ LC_CTYPE="en_HK.UTF-8" filezilla
Reading locale option from /home/satimis/.config/filezilla/filezilla.xml
Gtk-Message: 18:15:48.231: Failed to load module "canberra-gtk-module"
wxD-Bus: Signal from /org/freedesktop/DBus, member NameAcquired
wxD-Bus: Reply with serial 2
wxD-Bus: Reply to RegisterClient, our object path is /org/gnome/SessionManager/Client26
gio: file:///home/satimis/Downloads/PRIME-X570-P-ASUS-1201.CAP: No application is registered as handling this file
Filezilla started

Selected a directory on local client following warning popup;
A local filename could not be decoded.
Please make sure the LC_CTYPE (or LC_ALL) environment variable is set correctly.
Unless you fix this problem, files might be missing in the file listings.
No further warning will be displayed this session.
[OK]
satimis

User avatar
botg
Site Admin
Posts: 35508
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Character encoding issue

#6 Post by botg » 2019-12-02 14:20

Looks the filename has been improperly stored to begin with. Remove the offending files, if needed using whatever program has originally created the file, then re-create the files in a proper UTF-8 capable program. Avoid using non-ASCII characters in filenames if your other programs do not use UTF-8.

satimis
500 Syntax error
Posts: 17
Joined: 2013-03-09 09:02
First name: Stephen
Last name: Liu

Re: Character encoding issue

#7 Post by satimis » 2019-12-02 15:33

botg wrote:
2019-12-02 14:20
Looks the filename has been improperly stored to begin with. Remove the offending files, if needed using whatever program has originally created the file, then re-create the files in a proper UTF-8 capable program. Avoid using non-ASCII characters in filenames if your other programs do not use UTF-8.
Hi,

I don't think that there is problem on filenames ?

Started my old pc which has been running for years with FileZilla installed, working without problem.
FileZilla Version - 3.28 (same as the new PC)
OS - Ubuntu 18.04 Desktop

Login and found all filenames on both server (same server) and client are displayed correctly. I suppose having not setup FileZilla correctly on the new PC.

Regards
satimis

User avatar
boco
Contributor
Posts: 26913
Joined: 2006-05-01 03:28
Location: Germany

Re: Character encoding issue

#8 Post by boco » 2019-12-02 23:12

Please note that version 3.28 is not supported here (only the latest version). Also, the FileZilla package you get through the Linux Package Manager is not supported here, at all.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Post Reply