On Tue, 09 Oct 2012 15:36:34 +0100
Ralph Corderoy <ra...@inputplus.co.uk> wrote:

> >     \[u00E2]\[u0080]\[u0093]
> >
> > I'm not sure what that's supposed to be, but what I'd like to see is
> >
> >     \[em]
> 
> It's UTF-8 for U+2013, EN DASH, not M for Mike.
> 
>     $ printf '\xe2\x80\x93' | iconv -f utf-8 -t ucs-2be | hd
>     00000000  20 13                                             | .|
>     00000002

Much appreciated, Ralph.  What I'm hoping to find, for some value of
$FOO, is

        $ printf '\xe2\x80\x93' | $FOO -f utf-8  
        \[en]

I think it could be done, with perfect fidelity.  I wonder if it has
been, or if anyone else would want such a thing.  

--jkl


Reply via email to