how to convert text file with unknown 16 bit encoding to 8 bit as cii
Allen Kistler
an037-ooai8 at yahoo.com
Wed Aug 13 17:52:58 UTC 2008
> From: "Lancashire, Pete" <plancashire at ci.portland.or.us>
> Subject: how to convert text file with unknown 16 bit encoding to 8
> bit as cii
> Message-ID: <7EF5BBDCF35CD944A9FDB06AB82AF39909BC907B at CITYEMAIL2>
> Content-Type: text/plain
>
> how do I convert a file (or output to stdont) with an unknown 16 encoding
> into plain
> ol' ASCII aka 8 BIT ?
>
> Example of files contents
>
> 0 255 254
> 2 60 0
> 4 72 0
> 6 84 0
> 8 77 0
> 10 76 0
> 12 62 0
>
> or ..
>
> 0000000 377 376 < \0 H \0 T \0 M \0 L \0 > \0 \n \0
> 0000020 \0 \0 < \0 B \0 O \0 D \0 Y \0 > \0
> 0000040 \n
I'd use hexdump.
More information about the users
mailing list