From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KAiuA0AyL2LULgEAgWs5BA (envelope-from ) for ; Mon, 14 Mar 2022 13:17:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oIL/Nz8yL2KmNwEAG6o9tA (envelope-from ) for ; Mon, 14 Mar 2022 13:17:03 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 46A3237E58 for ; Mon, 14 Mar 2022 13:17:03 +0100 (CET) Received: from localhost ([::1]:58668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTjdG-0000xP-Cf for larch@yhetil.org; Mon, 14 Mar 2022 08:17:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTjci-0000wG-2H for emacs-orgmode@gnu.org; Mon, 14 Mar 2022 08:16:29 -0400 Received: from [2a00:1450:4864:20::632] (port=38578 helo=mail-ej1-x632.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nTjcf-0003t6-VU for emacs-orgmode@gnu.org; Mon, 14 Mar 2022 08:16:27 -0400 Received: by mail-ej1-x632.google.com with SMTP id r13so33451172ejd.5 for ; Mon, 14 Mar 2022 05:16:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UfBXZMtxIlPasQpRWHetdlxtIiFVaHTRl59P2LHmwwQ=; b=g5/FgeC3WJmVRegzmb02RfNXAHJs+spzcY/ao3Hz6RHnCZvVKDqqefnYJGkEGx5/7b QEgloAqCpNr+oaT9N+3qVmmgrkjh8gfkhWeOu7QPDGoHygVOQEu/Feg5pTL7N3mKJOzZ PWoynnSomFbAiKY0kjnBVRlQYsJAd/q3dZYyybfqvC/SiscPcm2yr/4w0s5a0uZretDu qfZcgzKAVkCMU6VPaJuIcKXc3Nd1TYMq9xBc8eRW/QstdFSnpfCs2yWjkhFKI3YVObl8 Z+Fydq4x/ro+IocElkaP5Pypog5dtDPQ5qWZOpHlQDid+6rUkzmsF0Zs4G84VAjNJaiA y+XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UfBXZMtxIlPasQpRWHetdlxtIiFVaHTRl59P2LHmwwQ=; b=LrPsJr2pg85Ok4DIBXJYTE3PYd7EsQjUSYoGuLJ3zWb2lW8wixpJfQ6x2xvEbbYD+o PBjhl98hkKE1eb9sqbyRA9GTh1pkfeEY7M2Y5QzNiuNhvdyBY/nu0t2t7I/TxG2D4gw+ gHhTmlbiIorY2b20IAbVPOACOO6abbrkq7PiT7DeNtULxANdF6QhUGKlT8E9ss07DvFQ LSaDz/VmB/nMnvgESfxkQkUu9R8+6HL1HEOs3UlcISgLSRVCe1aUeKv6faUaquRHrLIE ncS1mm7Q/qWGIH3aepLlLBZWML0iSfH5+crwygrkgeGu2oUcqNWWAk6g3A8y9TbTcSzA UHsQ== X-Gm-Message-State: AOAM530OIWdHAIqoJ/XlCzB4JiwbcEuJBIVl7A5xIdcvqzPSqaY5FfAi r9zfQo1x7wXiAJBzO9EnVr5TTVW7gsjLl1mXNSY= X-Google-Smtp-Source: ABdhPJyUvtmCH3nF+qB5v2+MtpMbHuhyzXiVtVgJ7uYfKX9c25u7U1jQe6omPFOJLnIw+/Dc63l/doHS52DPF5L7AiE= X-Received: by 2002:a17:906:3014:b0:6da:f381:4dfe with SMTP id 20-20020a170906301400b006daf3814dfemr18067017ejz.670.1647260177408; Mon, 14 Mar 2022 05:16:17 -0700 (PDT) MIME-Version: 1.0 References: <87mthve3qg.fsf@localhost> In-Reply-To: <87mthve3qg.fsf@localhost> From: Jonathan Nogueira Date: Mon, 14 Mar 2022 21:16:05 +0900 Message-ID: Subject: Re: Problems with babel reading Japanese paths in Windows To: Ihor Radchenko Content-Type: multipart/alternative; boundary="000000000000ba28dd05da2ca543" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::632 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=jontnog@gmail.com; helo=mail-ej1-x632.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647260223; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=UfBXZMtxIlPasQpRWHetdlxtIiFVaHTRl59P2LHmwwQ=; b=ox1ZCyssLldvUjvxGHvF8N4/GpMsb8soJQmL1reFOxV2G/qbUeN/wi8yIgWzLhPaS3Yu++ qz5SH1A9mghcYrCDX2pkviBwpIxuS7BHDkj9MRSHwrr3+3Dnxb8oE7LwYwDwwmGRgjSk5/ XzoHLZlnw2rjVpNRA0JE4/wz6CEbiPp//jk8ApMPTPSZYOIAcUZOITMsHEarlXEPRYwDnA 7T5H1JxwRtvib7VqTREuyLdZWTrR3j30avXmcAq5p1U2eEMzvchAvgBUCVi+60gsq+wj3+ zvom8INaZhgpkcec3IFPSeAbzmhUjewvnWZBi79eS0gRIP5dv5qmfuU7ZiegfQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647260223; a=rsa-sha256; cv=none; b=Yljj5eUvlaYDj9mmeAHl1VGgK6gvTwjaWW6g3//uQBVbVScAuiJDP18J1eSUmPSFdgw11h FBD356gr/BRuVq7Oj3Rypig3OlO2YzXjzeZsmr/cjYpD0d5noz38Mwrjqz7B9sDa8wSgR7 LEJUyuHRDt6szVZqfjJ19hEqwY63GKtTLnk8qMsGtJflxpLwC9dqcwcri//5uz5AdlYBfm PZCO2iY3kotLjuacclNnlT+aZjMo9UijHc6RHI2fy9WIBpEfcdH0tVKIcsQRTe7j6p+zR1 699fvSmH6riG1+RBklpPPGY+6bFJvLdeOAGU0cA4BmgPuDh4gORCdOCGncsPaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="g5/FgeC3"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.67 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="g5/FgeC3"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 46A3237E58 X-Spam-Score: -5.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: RC8moOZ7oH9i --000000000000ba28dd05da2ca543 Content-Type: text/plain; charset="UTF-8" I did and it seems to work fine, I also tested this using plantuml-mode's normal compliation procedure. This seems to specifically be a problem with org-mode and babel's compilation Thanks for your help! On Sat, Mar 12, 2022 at 9:49 PM Ihor Radchenko wrote: > Jonathan Nogueira writes: > > > Hi all, > > > > I've been working with emacs and org on Windows 10.0.19042 and was > recently > > trying to get babel to produce plantuml diagrams. > > > > I've managed to (I think) narrow the issue down to Babel either not being > > able to read/write Japanese paths to shell commands, as when I attempt to > > build the diagrams in folders with only ASCII paths, they build fine, but > > when babel attempts to execute any source code for paths that contain > > Japanese characters, babel gives back the cmd error "The System Cannot > Find > > the Path Specified." > > I do not use Windows, but I recall somewhat relevant discussion on > planuml recently: > https://orgmode.org/list/5d7eba13-b717-a12a-5f89-7d2c9414917e@gmail.com > > It seems that plantuml might have some issues with UTF unless you pass > relevant command line args. > > Did you try to run plantuml manually from windows cmd using the > problematic path? > > Best, > Ihor > -- Thanks, Jonathan Nogueira --000000000000ba28dd05da2ca543 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I did and it seems to work fine, I also tested this using plantuml-mode'= ;s normal compliation procedure.

This seems to specifically be a pro= blem with org-mode and babel's compilation

Thanks for= your help!

= On Sat, Mar 12, 2022 at 9:49 PM Ihor Radchenko <yantar92@gmail.com> wrote:
Jonathan Nogueira <jontnog@gmail.com> writes:

> Hi all,
>
> I've been working with emacs and org on Windows 10.0.19042 and was= recently
> trying to get babel to produce plantuml diagrams.
>
> I've managed to (I think) narrow the issue down to Babel either no= t being
> able to read/write Japanese paths to shell commands, as when I attempt= to
> build the diagrams in folders with only ASCII paths, they build fine, = but
> when babel attempts to execute any source code for paths that contain<= br> > Japanese characters, babel gives back the cmd error "The System C= annot Find
> the Path Specified."

I do not use Windows, but I recall somewhat relevant discussion on
planuml recently:
https://orgmode.org/list/5d7e= ba13-b717-a12a-5f89-7d2c9414917e@gmail.com

It seems that plantuml might have some issues with UTF unless you pass
relevant command line args.

Did you try to run plantuml manually from windows cmd using the
problematic path?

Best,
Ihor


--
Thanks,

Jonathan Nogueira
--000000000000ba28dd05da2ca543--