Re: perl for uploading file shows weird characters.

2008-01-12 Thread Gunnar Hjalmarsson
[ please do not multi-post! ] Patrik Hasibuan wrote: I am writing perl-cgi application for uploading a file. I did "chmod 777 ../../artikel". But I get weird displayed message: " ueri: 4CyrMz2ZeGIClwYfFsVdcv Co î 6êÎ]Ë kšfþx·¾ ðfS4M3>º {½‡<Óöù³®�¯3çýGèBù= „¬È›øRƒ. &ƒ

Re: weird characters

2002-04-06 Thread Adam Bartley
in article [EMAIL PROTECTED], Michael Kelly at [EMAIL PROTECTED] wrote on 4/4/02 6:08 PM: > On 4/4/02 3:00 AM, Adam Bartley <[EMAIL PROTECTED]> wrote: > >> Easy. Mac, Windows and Unix all use different endings to their lines. The >> Mac uses *both* the PC and the Unix form. Easiest is to downloa

Re: weird characters

2002-04-04 Thread Stephan Tinnemeyer
Pedro, for upload and/or download of text files you should use ftp in text mode. This will convert the line endings automatically. Perl scripts are text files. Therefore, perl scripts always should be up- and downloaded in text mode. Cheers Stephan -- Dipl.-Chem. Stephan Tinnemeyer Lindenallee

Re: weird characters - a program to display ASCII (0 - 127)

2002-04-04 Thread SirDouglasCook
s", $i) . " "; if(($Column % 10) == 0) { $Out .= "\n" } $Column += 1; } print $Out; - Original Message - From: "Pedro A Reche Gallardo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 03, 2002 3:58 PM Subject: weird character

Re: weird characters

2002-04-04 Thread Michael Kelly
On 4/4/02 3:00 AM, Adam Bartley <[EMAIL PROTECTED]> wrote: > Easy. Mac, Windows and Unix all use different endings to their lines. The > Mac uses *both* the PC and the Unix form. Easiest is to download TexEdit, > open your cgi files with it and use the quick convert option to turn it from > Mac t

Re: weird characters

2002-04-04 Thread Adam Bartley
in article [EMAIL PROTECTED], Pedro A Reche Gallardo at [EMAIL PROTECTED] wrote on 4/4/02 1:58 AM: > Hi, I have found that when I upload files from a Mac and Windows the > return character (maybe other characters too) are replaced by something > else. Does any one know how to avoid this? or alter

weird characters

2002-04-03 Thread Pedro A Reche Gallardo
Hi, I have found that when I upload files from a Mac and Windows the return character (maybe other characters too) are replaced by something else. Does any one know how to avoid this? or alternatively how to translate those character into the unix equivalents Cheers -- ***