Re: Can I upload Perl program in unicode?



On Tue, 29 Jul 2008 09:57:57 +0200, Christian Winter wrote:

John schrieb:

If a Perl script can be encoded in UTF8, the problem must lie with the
upload. I use WS_FTP Pro on my Windows (sorry) machine

A lot of people here use Perl on Windows. One of my main uses for Perl
is manipulating Microsoft Word/Excel documents via Win32::OLE.

and vsftpd on my
linux server. I need to look at the setup on both.

Did you know you can use Explorer as an ftp client on Windows? It's fairly
handy.

Also have a look at line endings, windows-style line ends
(CRLF) generally don't mix well with Perl on *nix systems

The only problem with these on Unix systems is "bad interpreter" messages
if there is a ^M at the end of the #! line. But these messages come from the
shell, not Perl itself. Perl is able to cope with any kind of line
endings on Unix, so you can run your scripts as "perl myscript" it will
be OK.

.



Relevant Pages

  • Re: GUI and Rapid Application Development?
    ... Most simple applications that I dealt with did not need the use of API ... I imagine Perl is faster, ... my Perl scripts are more compact ... Chirag> in Windows that could run on Windows 98 through 2003. ...
    (comp.os.linux.misc)
  • Re: ping Purl Gurl? Beginner Level Perl
    ... Purl Gurl wrote: ... If you are to learn Perl, ... Windows machines is good motivation for using Win. ...
    (alt.usage.english)
  • Re: My Regexp XML Parser -> Structured Perl Data, Cut & Paste Version, No Modules (Vol I)
    ... On Windows NT and later, subprocesses are now started via ``cmd /x/d/c'' ... Perl for ISAPI would sometimes close a filehandle twice. ...
    (comp.lang.perl.misc)
  • Re: Unix commands
    ... ==> writing the program in Perl, ... ==> program that had to be ported to Windows. ... After installing a Unix toolkit the script ... And every other common Unix tool. ...
    (comp.lang.perl.misc)
  • Re: Unix commands
    ... I don't recall ever writing a program that needed to trawl through ... All the Perl programs ... I'm not going to worry whether my tool is going to be run on Windows. ... // Actually many times I've ported my programs and tools to Unix too! ...
    (comp.lang.perl.misc)