[NTG-context] Windows console message from utf-8 source

Hans Hagen pragma at wxs.nl
Mon Apr 27 20:09:23 CEST 2015


On 4/27/2015 6:29 PM, Pablo Rodriguez wrote:
> Dear list,
>
> I have the following minimal example:
>
>      \starttext
>      \message{En español usamos acentuación}
>      \stoptext
>
> Saved as utf-8, Linux displays the message fine. (I guess MacOS X would
> do the same.)
>
> The problem is the standard console in Windows. It requires IBM codepage
> 850 exclusively. (Or at least, I don’t know how to display utf-8 strings.)
>
> Is there any way to display the content of the \message above as cp850
> from a utf-8 source?

choose a font that has the glyphs and run

chcp 65001

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list