If it's above 127 that's not ASCII – that's possibly an ISO encoding
like Latin 1, but which...? And that's not going to work, since the
shell is not ISO-something based. Plus, you mention \342\200\231
appearing in the Terminal. That's UTF-8, encoded in octal, and
corresponds to ' ie 0xE28099, three bytes. So your best bet is to
convert your string from whatever encoding it is in to UTF-8 and
output *that*, normally, to the shell.

HTH


--
dda
libcurl4RB, [S]FTP transfers made easy
http://sungnyemun.org/?q=node/8


On 2/13/07, John Lowrey <[EMAIL PROTECTED]> wrote:
I am trying to pass an extended ascii character (chr(213)) to a shell
in OS X. I have not figured out how to do it.  I have tried all of
the escape metacharacters I can think of with no success.  If I paste
the character in the Terminal, it appears as \342\200\231.  Any help
would be much appreciated.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to