View previous topic :: View next topic |
Author |
Message |
Loke Apprentice
Joined: 25 May 2002 Posts: 274 Location: Norway
|
Posted: Tue Jul 12, 2005 7:22 pm Post subject: tar`ing files containing norwegian characters |
|
|
Hello,
Im trying to move alot of sound and images from a reiserFS partition to an OSX partition, but my problem is alot of the files contain norwegian characters. Im using tar, and then copying the tar over and extract. However, the OSX tar refuse to decode the files containing norwegian characters. It simply skips them - which is completely unacceptable. The error message is "Cannot open: Invalid argument" when processing a file containing the norwegian characters.
Both my linux install and OSX, is utf8 to my knowledge. According to man tar I can use --posix or --format=posix when creating and extracting the archive and tar will manage the filename encoding automagically. However, on the OSX side this does not work at all so Im completely lost. I even tried compiling gnutar and using it to extract the files on OSX, but it behaved exactly the same as BSD tar (which does not support posix).
Any suggestions? (Renaming the files is not an option _________________ I'm not saying there should be capital punishment for stupidity, I'm saying why don't we take the warning labels off of everything, and let the problem take care of itself? |
|
Back to top |
|
|
crudh l33t
Joined: 12 May 2005 Posts: 696 Location: Sundbyberg, Sweden
|
Posted: Wed Jul 13, 2005 1:27 pm Post subject: |
|
|
You could try another tool than tar, like bzip2, zip, rar or something? To see if they handle the filenames better. |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Tue Jul 19, 2005 9:25 pm Post subject: |
|
|
Bruk av internasjonale tegn i filnavn som skal transporteres til et annet OS er alltid en daarlig ide.
Bruk av nasjonale tegn i filnavn er en daarlig ide generellt, spesiellt dersom du ikke har et system som er 100% UNICODE basert.
Bruk heller tid paa aa bytte fra norske tegn til kun bruk av 7-bit ascii navn _________________ 'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.' |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|