Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 01 Oct 2014, 16:42
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Seeing filenames with diacritics {solved}
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
mini-jaguar

Joined: 13 Nov 2008
Posts: 462

PostPosted: Tue 05 Feb 2013, 12:50    Post_subject:  Seeing filenames with diacritics {solved}  

I know it's been asked before, but not answered.

So is there a way to see file names with diacritics? Sometimes they will not even copy properly.

Adding the input keyboard for the language also does not help.

Strangely enough, diacritics for songs at the mp3 tag level (but not the actual file name) can been seen by most of the Puppy music players.

Edited_time_total
Back to top
View user's profile Send_private_message 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Tue 05 Feb 2013, 14:57    Post_subject:  

These days most filenames are encoded in UTF-8. Did you tick the box for UTF-8 encoding in quicksetup? If so, the following command should output something like "en_GB.UTF-8":
Code:
echo $LANG

If you don't see ".UTF-8", you should run quicksetup and tick the box. (Save any work you have open so that you are prepared to allow quicksetup to restart X when it asks.)

If you are already using UTF-8, then the problem may be that the filenames may have been created with an older encoding like ISO-8859-1. If so, you could try running quicksetup and unticking the UTF-8 box. (Although you will probably want to do this only temporarily, and return to UTF-8 after you have finished accessing those files.) Ideally, it would probably be best to rename the files using UTF-8.
Back to top
View user's profile Send_private_message 
mini-jaguar

Joined: 13 Nov 2008
Posts: 462

PostPosted: Thu 07 Feb 2013, 12:05    Post_subject:  

There isn't a setting that allows me to see them all at the same time, but some will let me see half of them or around.

But I did find an interesting trick. If I set the language to Russian or Bulgarian, all the file names with diacritics are black like the other files. When they are red they sometimes produce errors when trying to copy, so that is something to be avoided. Otherwise I still get red file names if I set Puppy itself to a language with Latin letters, even file names with common diacritics like German or French.
Back to top
View user's profile Send_private_message 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Thu 07 Feb 2013, 14:12    Post_subject:  

mini-jaguar wrote:
There isn't a setting that allows me to see them all at the same time, but some will let me see half of them or around.

OK, it sounds like some of your filenames are encoded with UTF-8, and one or more other encodings are used for some of your other filenames.

mini-jaguar wrote:
When they are red they sometimes produce errors when trying to copy, so that is something to be avoided.

I'm assuming that you are talking about ROX-Filer here. Yes, ROX-Filer likes to have filenames encoded in UTF-8. If you hover your mouse pointer over a file without a valid UTF-8 filename, you will probably see this:
ROX-FILER wrote:
This filename is not valid UTF-8. You should rename it.

That is good advice from ROX-Filer.

Are the UTF-8 filenames on one filesystem and the non-UTF-8 filenames on another? If so, there might be a mount option that would allow non-UTF-8 filenames to be seen as UTF-8 by Linux, without the need to actually rename them. (But that won't work on a filesystem that contains filenames with various encodings -- those files should be renamed for consistency.)
Back to top
View user's profile Send_private_message 
mini-jaguar

Joined: 13 Nov 2008
Posts: 462

PostPosted: Fri 08 Feb 2013, 04:40    Post_subject:  

npierce wrote:
I'm assuming that you are talking about ROX-Filer here. Yes, ROX-Filer likes to have filenames encoded in UTF-8. If you hover your mouse pointer over a file without a valid UTF-8 filename, you will probably see this:
ROX-FILER wrote:
This filename is not valid UTF-8. You should rename it.
Uh, no. Never happened. There are probably only one or two UTF-8 filenames, if any, and it certainly doesn't happen on the non-UTF-8 ones.

I found that some other languages will also make the red filenames black and safe for copying, for example German.
Back to top
View user's profile Send_private_message 
mini-jaguar

Joined: 13 Nov 2008
Posts: 462

PostPosted: Sun 10 Mar 2013, 11:12    Post_subject:  

Tried renaming some of them, it works sometimes, but Puppy doesn't seem to allow diacritics for the filenames in all the different languages, only some.

edit: actually never mind, I renamed them. But it took several Puppy versions. Some versions only work in renaming certain languages while for other languages it doesn't work
Back to top
View user's profile Send_private_message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Mon 11 Mar 2013, 12:26    Post_subject:  

I dont know exactly cos i run rox filer:

Dämmerung were two folders i had on two different fat flash drives that were shown one red and one normal. I was able to move them from these 2GB cards to a 8GB one in the same directory Laughing

Rox advises to rename such "red" folders, and without doing something in the input line and just clicking OK, they become "normal" . Don't know if WindowsOS now complains ..

I am fed up with fat cos when turning pics 90° , the drive gets filled up.
Back to top
View user's profile Send_private_message Visit_website 
mini-jaguar

Joined: 13 Nov 2008
Posts: 462

PostPosted: Tue 12 Mar 2013, 06:52    Post_subject:  

The red folders are unpredictable. I have had videos with red folders that I can watch in some Puppies while in others it won't work. Same with copying and generally opening these folders, sometimes works, sometimes doesn't.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0684s ][ Queries: 12 (0.0114s) ][ GZIP on ]