Am 14.09.2013 um 19:16 schrieb john Culleton <John@wexfordpress.com>:

On Sat, 14 Sep 2013 17:42:42 +0200
Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:


Am 14.09.2013 um 15:34 schrieb john Culleton <John@wexfordpress.com>:

Excellent! Now in MKIV how would I encode an opening quote mark
American style? In previous TeX programs it was always ``. The MKIV
substitute \quotation{foo}
is not practical for my application, where the raw input code
may use the ditto mark " for both opening and closing quotes. I am
looking for something in MKIV equivalent to \char92 in plain TeX. On
the unicode table I find the hex value 008013 but I don't know how
to plug that in to a macro that redefines the first occurrence of "
to be that character, and the second occurrence to be hex 000814
etc. I can write the macro, I just need the expression equivalent
to \char that gives me such characters in MKIV.

Are you sure these are the correct values?

http://www.fileformat.info/info/unicode/char/8013/index.htm


What’s wrong with \char?

\starttext

\char"201C TEXT\char"201D

\utfchar{"201C}TEXT\utfchar{"201D}

\fontchar{quotedblleft}TEXT\fontchar{quotedblright}

\stoptext

Wolfgang

Well you answered my question. The chart I read for unicode characters
gave the values I quoted. I guess I was reading the wrong chart. What
chart do you use?

http://www.unicode.org/charts/
http://www.unicode.org/charts/PDF/U2000.pdf
http://www.decodeunicode.org/
http://www.decodeunicode.org/u+201C
http://www.typografie.de/product_info.php?products_id=1409&language=en

Wolfgang