Re: Can I upload Perl program in unicode?



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
.



Relevant Pages

  • Re: case-sensitivity
    ... I do not doubt that notepad does accept UTF input, ... an US/European keyboard. ...
    (comp.lang.scheme)
  • How to programatically default the encoding of my "Notepad" into ANSI in c#
    ... How do I programatically default the encoding of my "Notepad" into ANSI. ... have UTF as the default encoding in their notepad. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: XmlDocument and utf-8
    ... I've even tried "manually correcting" the utf to UTF with notepad and then opening with XmlDocument and saving. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Default Encoding ändern
    ... Klar, das funktioniert zuverlässig, wenn die Text Datei ein BOM ... .html) mit einer UTF-Codierung und dem entsprechenden BOM speichern, ... Ich öffne eine Datei mit Notepad, gehe auf Speichern unter und sehe in der DropDown Liste ... so zeigt es Notepad an. ...
    (microsoft.public.de.german.entwickler.dotnet.vb)
  • Re: Windows nuisance character in .txt files
    ... > those extra characters before using the file. ... >> file had been created with Notepad. ... some form of UTF encoding it should have a BOM. ...
    (comp.lang.java.programmer)