Branches
Comments
[»]
UTF-16 and convmv 1.10
by Roc Vallès Domènech - Dec 7th 2007 01:32:25
I have a bunch of UTF-16 files (from windows-made zips) to convert, and I'm
having no luck with 1.10, as it follows:
$ convmv -f UTF-16 -t UTF-8 /bin/ls
Starting a dry run without changes...
UTF-16:Unrecognised BOM 6c73 at /usr/lib/perl5/5.8.8/i686-linux/Encode.pm
line 186.
[reply]
[top]
[»]
Re: UTF-16 and convmv 1.10
by Björn JACKE - Jan 22nd 2008 07:23:59
> I have a bunch of UTF-16 files (from
> windows-made zips) to convert
UTF-16 is the *internal* charset of windows filesystems. You never see
UTF-16 in filenames externally. You cannot use that charset as it contains
null bytes, which are not alloowed in filenames. Please read the man page
to get more information on all that stuff.
[reply]
[top]
[»]
convmv for win32?
by asfaltboy - Jan 3rd 2007 02:12:09
Have anyone heard of the same solution for converting filename encoding in
windows? I'm having a really hard time finding something...
[reply]
[top]
[»]
Re: convmv for win32?
by Colin Adams - Mar 19th 2007 08:01:32
> Have anyone heard of the same solution
> for converting filename encoding in
> windows? I'm having a really hard time
> finding something...
I haven't, I'm afraid.
I don't even know how to find out what the encoding of filenames on
Windows is.
Anyone?
-- Colin Adams
[reply]
[top]
[»]
Re: convmv for win32?
by mrthefter - Jul 13th 2007 13:11:29
>
> % Have anyone heard of the same
> solution
> % for converting filename encoding in
> % windows? I'm having a really hard
> time
> % finding something...
>
>
> I haven't, I'm afraid.
>
> I don't even know how to find out what
> the encoding of filenames on Windows is.
>
> Anyone?
>
>
I believe Windows' NTFS filesystem uses UTF-16.
http://en.wikipedia.org/wiki/Ntfs
[reply]
[top]
[»]
Problem with Perl 5.8.7 (Encode 2.10)
by Björn JACKE - Dec 5th 2005 03:54:04
Perl 5.8.7 (Encode 2.10) has a changed decode_utf8() function, which makes
convmv think *all* files are already UTF-8 encoded. This is a misbehaviour
of Perl and the docs describe a different behaviour. Don't use Perl 5.8.7
with convmv, this will hopefully be fixed in newer Perl releases.
[reply]
[top]
[»]
Re: Problem with Perl 5.8.7 (Encode 2.10)
by Björn JACKE - Dec 9th 2005 10:00:53
This is being worked around in release 1.09 now.
[reply]
[top]
|