Re: Can I upload Perl program in unicode?
- From: "John" <john1949@xxxxxxxxx>
- Date: Tue, 29 Jul 2008 08:42:47 +0100
Good morning , all
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 and vsftpd on my
linux server. I need to look at the setup on both. The answer lies there.
Many thanks and regards
John
"Jürgen Exner" <jurgenex@xxxxxxxxxxx> wrote in message
news:6kat84hutbf0u9dsa7f18jjoc8o2e412u7@xxxxxxxxxx
Bill H <bill@xxxxxxxxx> wrote:
I think - and I could be wrong here, John is writing his code using
something like Notepad that warns you about saving in utf or not. If
you don't save in utf the characters go away. It may be that he saves
in utf and then when uploading it is messed up by his ftp program.
Quite possible. Another wild guess:
- If he is using Notepad and saves as UTF8, then Notepad prepends a
totally useless BOM(*) to the file. Mabye perl is choking on that BOM.
*: UTF8 is a _byte_ stream and does not have a byte order
jue
.
- Follow-Ups:
- Re: Can I upload Perl program in unicode?
- From: Christian Winter
- Re: Can I upload Perl program in unicode?
- References:
- Can I upload Perl program in unicode?
- From: John
- Re: Can I upload Perl program in unicode?
- From: Peter J. Holzer
- Re: Can I upload Perl program in unicode?
- From: Bill H
- Re: Can I upload Perl program in unicode?
- From: Jürgen Exner
- Can I upload Perl program in unicode?
- Prev by Date: Posting Guidelines for comp.lang.perl.misc ($Revision: 1.8 $)
- Next by Date: Re: Can I upload Perl program in unicode?
- Previous by thread: Re: Can I upload Perl program in unicode?
- Next by thread: Re: Can I upload Perl program in unicode?
- Index(es):
Relevant Pages
|