[opensuse] Question About Non-Standard Character
Hi, Under openSUSE 13.1 x64 with KDE 4.13, I was attempting to move a file in Dolphin with a non-standard character to trash. I did some tests, and I either get this message: "The file or folder /home/xxx/Its does not exist." or it does move it to trash, yet when viewing the trash (from the places panel), the file isn't there. When looking in ~/.local/share/Trash/ the file shows up here; I can't remember if it went into "files" or "info". Now when trying to reproduce the problem, I only get the error message. I looked to see what character this with KCharSelect and found nothing, so I included a picture at the link below: http://paste.opensuse.org/66554404 Thanks -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 10/05/2014 13:11, Sam M a écrit :
Hi,
Under openSUSE 13.1 x64 with KDE 4.13, I was attempting to move a file in Dolphin with a non-standard character to trash. I did some tests, and I either get this message: "The file or folder /home/xxx/Its does not exist." or it does move it to trash, yet when viewing the trash (from the places panel), the file isn't there. When looking in ~/.local/share/Trash/ the file shows up here; I can't remember if it went into "files" or "info". Now when trying to reproduce the problem, I only get the error message. I looked to see what character this with KCharSelect and found nothing, so I included a picture at the link below:
http://paste.opensuse.org/66554404
Thanks
I think than sometime character convresion from utf8 (among other reasons) may give "nul" characters in a file name and linux do not like it. usually "rm *.x" with jokers allow to remove them but I still get some errors on old archives jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2014-05-10 13:11, Sam M wrote:
Now when trying to reproduce the problem, I only get the error message. I looked to see what character this with KCharSelect and found nothing, so I included a picture at the link below:
If the file is somewhere, you can use this trick to find the actual char used in the listing:
cer@minas-tirith:~/tmp/utf> touch España cer@minas-tirith:~/tmp/utf> l total 1 drwxr-xr-x 2 cer users 72 May 11 02:04 ./ drwxr-xr-x 7 cer users 552 May 11 02:04 ../ -rw-r--r-- 1 cer users 0 May 11 02:04 España cer@minas-tirith:~/tmp/utf> l | hexdump -C 00000000 74 6f 74 61 6c 20 31 0a 64 72 77 78 72 2d 78 72 |total 1.drwxr-xr| 00000010 2d 78 20 32 20 63 65 72 20 75 73 65 72 73 20 20 |-x 2 cer users | 00000020 37 32 20 4d 61 79 20 31 31 20 30 32 3a 30 34 20 |72 May 11 02:04 | 00000030 2e 2f 0a 64 72 77 78 72 2d 78 72 2d 78 20 37 20 |./.drwxr-xr-x 7 | 00000040 63 65 72 20 75 73 65 72 73 20 35 35 32 20 4d 61 |cer users 552 Ma| 00000050 79 20 31 31 20 30 32 3a 30 34 20 2e 2e 2f 0a 2d |y 11 02:04 ../.-| 00000060 72 77 2d 72 2d 2d 72 2d 2d 20 31 20 63 65 72 20 |rw-r--r-- 1 cer | 00000070 75 73 65 72 73 20 20 20 30 20 4d 61 79 20 31 31 |users 0 May 11| 00000080 20 30 32 3a 30 34 20 45 73 70 61 c3 b1 61 0a | 02:04 Espa..a.| 0000008f cer@minas-tirith:~/tmp/utf>
Thus we can see that the 'ñ' is represented by the two byte sequence 'c3 b1' in hex. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iF4EAREIAAYFAlNuv7gACgkQja8UbcUWM1z92QD+Lz2R2USB2W1M5wrbt6Z3N9z2 Z06czobAMx+Nbmep/4UA/iUVJGnocmlVY8JZ7lDJImrInFZsyRB5aiT7NvpKMsVs =CSOf -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Carlos E. R.
-
jdd
-
Sam M