RE: Identifying file encoding scheme

From: Erland Sommarskog (sommar@algonet.se)
Date: Mon Sep 13 1999 - 17:41:21 EDT


> From unicode@unicode.org Fri Sep 10 00:35:32 1999
Montgomery Securities wrote:
> 3) For perl programmers, this program will generate a file that will
> confuse NT:
>
> unless (open(OUTFILE, ">c:\\confused.txt")) {die("cannot open file.\n");}
> $c1 = "A";
> $c2 = "B";
> printf OUTFILE $c1 . ((($c1 x 3) . $c2) x 100) . "\n" . $c1 . ((($c1 x 3) .
> $c2) x 100) . "\n";

I tried your script, and I typed the file in the DOS box. I opened
the file in Notepad. I bulk copied it to SQL Server. And absolutely
nothing strange happened.

--
Erland Sommarskog, Stockholm, sommar@algonet.se



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:51 EDT