ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: issue with beta from 2019.11.29 21:47 in Windows
Date: Tue, 3 Dec 2019 20:45:45 +0100	[thread overview]
Message-ID: <bc76a0d5-884e-2584-51e7-f1b273ea8601@gmx.es> (raw)
In-Reply-To: <c41c8148-1477-4d50-64a8-a2bd40b00e62@xs4all.nl>

On 12/3/19 9:17 AM, Hans Hagen wrote:
> On 12/3/2019 12:07 AM, Akira Kakuto wrote:
>> [...]
>> Thus your example does not work unless a system call GetACP()
>> returns CP_UTF8 or 65001, sorry for the inconvenience.
> in luatex one can check this from lua with
>
> print(lua.getcodepage())

Many thanks for your reply, Hans.

I’m afraid I cannot get this working (I get a nil value error).

    \starttext
     \startluacode
        print(lua.getcodepage())
     \stopluacode
    \stoptext

Which is the right way to check it?

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2019-12-03 19:45 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <7992CF71224042639D33FC342999C075@CJ3001517A>
2019-12-03  8:17 ` Hans Hagen
2019-12-03 19:45   ` Pablo Rodriguez [this message]
2019-12-03 21:11     ` Hans Hagen
2019-12-02 15:18 Pablo Rodriguez
2019-12-02 17:01 ` Wolfgang Schuster
2019-12-02 17:46   ` Pablo Rodriguez
2019-12-02 20:45     ` Wolfgang Schuster
2019-12-03 19:37       ` Pablo Rodriguez
2019-12-03 21:14         ` Hans Hagen
2019-12-04 21:19           ` Pablo Rodriguez
2019-12-05  8:23             ` Hans Hagen
2019-12-05 19:31               ` Pablo Rodriguez
2019-12-06  9:01                 ` Arthur Reutenauer
2019-12-07 13:40                   ` Pablo Rodriguez
2019-12-07 15:32                     ` Hans Hagen
2019-12-07 22:49                       ` Pablo Rodriguez
2019-12-07 23:33                         ` Hans Hagen
2019-12-04 21:27   ` Pablo Rodriguez
2019-12-02 17:05 ` Hans Hagen
2019-12-02 17:51   ` Pablo Rodriguez
2019-12-02 22:22     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bc76a0d5-884e-2584-51e7-f1b273ea8601@gmx.es \
    --to=oinos@gmx.es \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).