Right on the point, Ivan, that was the issue. The output from l10n_info()
was:
$MBCS
[1] FALSE
$`UTF-8`
[1] FALSE
$`Latin-1`
[1] FALSE
$codeset
[1] "US-ASCII"
(and the locale was just "C")
I simply needed to write something like:
export LC_ALL='en_US.UTF-8'
before starting the child process,
On Fri, 30 Jun 2023 11:33:34 +0300
Adrian Dușa wrote:
> In a very simple test, I tried creating a text file from the Electron
> app embedded R:
> sink("test.txt")
> cat("\u00e7")
> sink()
>
> which resulted in:
>
>
>
> I don't quite understand how this works, my best guess is it matters
> les
Hello Iris,
Thanks for your answer. The thing is not that I want to obtain ,
but that it gets produced regardless.
In the meantime, I have assessed the real culprit is somehow (perhaps)
related to the locale or encoding of the terminal process that I use to run
R, in that particular MacOS Electron
3 matches
Mail list logo