Subject: | Archive::Tar problem with filenames on different OS. |
Date: | Wed, 01 Dec 2010 18:11:49 +0200 |
To: | kane [...] cpan.org, bug-archive-tar [...] rt.cpan.org |
From: | "a.mishchenko [...] sat.ua" <a.mishchenko [...] sat.ua> |
Hello!
Sorry for my poor English.
I use Archive::Tar in cross-platform perl program for Linux/GNU and
Win32 platform.
On Linux/GNU I use UTF-8 codepage for filenames.
I must use cp1251(cyrylic codepage for Windows) on Win32 platform .
When I create tar-archive and add to archive non-latin filenames on
Win32 platform, I can untar it but only with broken filenames...
How I can resolve this problem?
May be I can add to archive codepage and use it while untar archive.
May be I can set codepage for filenames while untaring or taring. I use
in my program only utf-8 data format. May be I can add files with
encoded(to utf-8) filenames?
Alexander Mishchenko