Well "saved in unicode" can mean many different things... utf8 is just one of many encodings in "unicode". There are others. One of the nice things about unicode is that all characters which can be encoded in the old 8-bit reprentation of 7-bit ascii are encoded exactly the same in utf8 (I think that's where the term "utf8" originates from... but I could be wrong).

Anyways, looking at Textpad, which is the editor I use when on windows: it has several encoding options, among them "ANSI" (which is the closest it has to ASCII), "UTF-8", and "Unicode". Here is how they encode the character string "adsf":

[me@host]$ hd ~/asdf.unicode 0000000 a nul s nul d nul f nul 61 00 73 00 64 00 66 00 0000010 [me@host]$ hd ~/asdf.utf8 0000000 a s d f 61 73 64 66 0000004 [me@host]$ hd ~/asdf.ascii 0000000 a s d f 61 73 64 66 0000004 [me@host]$
Get the idea?

------------
:Wq
Not an editor command: Wq

In reply to Re: Re: calling the interpreter from a utf8 script by etcshadow
in thread calling the interpreter from a utf8 script by emilioayllon

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.