how to convert text file with unknown 16 bit encoding to 8 bi t as cii

Lancashire, Pete plancashire at ci.portland.or.us
Wed Aug 13 15:36:12 UTC 2008


 ok 7 BIT :-), in my frustration should have said single byte ...

 well I did it with a perl hack i.e. skip the first 2 bytes and
 send to stdout every other byte...

 
 
 

> -----Original Message-----
> From: Colin Paul Adams [mailto:colin at colina.demon.co.uk] 
> Sent: Wednesday, August 13, 2008 8:28 AM
> To: For users of Fedora
> Subject: Re: how to convert text file with unknown 16 bit 
> encoding to 8 bit as cii
> 
> >>>>> "Pete" == Lancashire, Pete 
> <plancashire at ci.portland.or.us> writes:
> 
>     Pete> how do I convert a file (or output to stdont) with an
>     Pete> unknown 16 encoding into plain ol' ASCII aka 8 BIT ?
> 
> ASCII is not 8 bit.
> 
> And you can't convert it to anything until you know the 
> coding (or can make a sensible guess).
> --
> Colin Adams
> Preston Lancashire
> 
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> 




More information about the fedora-list mailing list