ROX-Filer , bad UTF8

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
fabrice_035
Posts: 765
Joined: Mon 28 Apr 2014, 17:54
Location: Bretagne / France

ROX-Filer , bad UTF8

#1 Post by fabrice_035 »

hi,
I've almost given up Microsoft Windows but sometimes I have to go back to it because I have problems with some files.

Image

it is impossible with Rox to rename the file (in red in the capture)

Code: Select all

ERROR: No such file or directory
say Rox-Filer

Someone has an idea ?

edit:

Code: Select all

root# locale
LANG=fr_FR.UTF-8
LANGUAGE=
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=
root# 
after reading this https://linuxfr.org/forums/linux-genera ... dage-utf-8
I think it's impossible to solve, but a miracle is always possible

edit 2 :
I found an alternative solution by installing xfe, a very good file manager and setting up the network share which is problematic with

Code: Select all

 mount -t cifs //192.168.1.13/MYSHARE /mnt/share -o username=guest,iocharset=utf8,vers=1.0
the filename display is correct and I can rename
Bionicpup64-8.0 _ Kernel 5.4.27-64oz _ Asus Rog GL752

User avatar
jplt3
Posts: 118
Joined: Mon 08 Apr 2019, 20:40
Location: Planet Earth

#2 Post by jplt3 »

Excellent @fabrice_035 i ask for the same question in the french section.

Hope we will find a solution ....
JpLt

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#3 Post by step »

Unlike Linux, Windows doesn't use UTF-8 but a different character encoding for file names. My guess is that you created that file in Windows, not in Linux. When you view the file name through the network share, the cifs server converts the Windows encoding to UTF-8 so the name looks correct to Linux xfe. I think it should look correct also to rox provided that you go to the file under /mnt/share.
If you don't go through the cifs server, the file name character encoding can be invalid UTF-8, hence the red color.
If you're looking for ways to "fix" the "wrong" filename, there are command-line utilites to help you do that. Google "linux fix windows file names", and you should be able to find some options. Keep in mind that if you change a filename to UTF-8 and put it back to Windows, without the helf of a cifs server, Windows may display the file name incorrectly, because it doesn't understand the file name encoding.
In the end it depends on the file name and the method you use to transfer files back and forth.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

User avatar
jplt3
Posts: 118
Joined: Mon 08 Apr 2019, 20:40
Location: Planet Earth

#4 Post by jplt3 »

It work for me with this argument to mount my share :

Code: Select all

mount -t cifs //192.168.0.254/Disque\ 2 -o rw,username='my_user',password='my_mot_de_pass',domain='WORKGROUP',vers=1.0,iocharset=utf8  /root/FBD/ 
Attachments
fb2.png
(9.84 KiB) Downloaded 36 times
JpLt

Post Reply