Re: Can I upload Perl program in unicode?



"John" <john1949@xxxxxxxxx> wrote:
Hi

Imagine that I have the following statement in a Perl program.

my $word = '??';

That's just two question marks, chr 63, right? If not, then what
is it?

If I save the Perl program as 'UTF8' the characters remain.

"Save as UTF8" sounds like something a word processor would do.
We don't know what word processor you are using.


If I save it in ASCII, the line appears as my $word = '??????';

Is that equivalent to the below?
join "", chr(65),chr(65),chr(65),chr(65),chr(145),chr(65);

Now, the problem is although I can save it as UTF8 the Perl program needs
to be in ASCII to be run

What makes you think that? What errors are you getting?

Xho

--
-------------------- http://NewsReader.Com/ --------------------
The costs of publication of this article were defrayed in part by the
payment of page charges. This article must therefore be hereby marked
advertisement in accordance with 18 U.S.C. Section 1734 solely to indicate
this fact.
.



Relevant Pages

  • Re: Wholesome choice?
    ... As I just tried to explain, a word processor is a completely ... The purpose of a text editor is to produce an ASCII ... I want to do it with Emacs, since it's both very powerful and very ... display all of the headers -- because it knows that the content ...
    (rec.arts.sf.fandom)
  • Re: Wholesome choice?
    ... The purpose of a text editor is to produce an ASCII ... i.e. a string of characters. ... The purpose of a word processor is to put words into a document that can ... It's not cluttered -- non-broken software uses that information to display ...
    (rec.arts.sf.fandom)
  • Re: text file in suse a ASCII file or binary file?
    ... I am really new to Linux and just want to ask a trivil question: ... system but not sure about the story with Suse or Linux/Unix. ... Maybe there is a reason why ASCII should be standard. ... There are a lot of factors going into a decent word processor. ...
    (alt.os.linux.suse)
  • Re: Quote marks and Question marks
    ... any quotation marks show up at the ... the messages comes back to me with question marks instead of quotation ... or characters of text in a word processing program. ... so ASCII only uses 7 bits. ...
    (comp.sys.mac.system)
  • Re: JSP Internationalization
    ... files which I ran through native to ascii. ... screen I only see question marks. ... save the resource file as utf8 format. ... When I run native2ascii I ...
    (comp.lang.java.programmer)