Re: [PATCH] svn_cmdline__edit_file_externally() may not be able to open the target file in locale other than UTF-8
From: Jun Omae <jun66j5_at_gmail.com>
Date: Thu, 8 Oct 2020 13:12:26 +0900
Hi all,
On Sun, Oct 4, 2020 at 11:33 PM Yasuhito FUTATSUKI <futatuki_at_yf.bsdclub.org> wrote:
I found a minor issue on Windows after r1882235.
When the editor command (via SVN_EDITOR environment and --editor-cmd option) has
I think we should convert the editor command to UTF-16 encoding before passing it
[[[
C> mkdir C:\usr\tmp\エディタ
C> copy nul C:\usr\tmp\エディタ\editor-stub.cmd
C> set SVN_EDITOR=C:\usr\tmp\エディタ\editor-stub.cmd
C> subversion\svn\svn.exe propedit svn:ignore file:///C:/usr/tmp/svnrepos
C> subversion\svn\svn.exe propedit --editor-cmd=C:\usr\tmp\エディタ\editor-stub.cmd svn:ignore file:///C:/usr/tmp/svnrepos
C> set SVN_EDITOR=
C> subversion\svn\svn.exe propedit --editor-cmd=C:\usr\tmp\エディタ\editor-stub.cmd svn:ignore file:///C:/usr/tmp/svnrepos
C> subversion\svn\svn.exe propedit --editor-cmd=C:\usr\tmp\エディタ\editor-stubx.cmd svn:ignore file:///C:/usr/tmp/svnrepos
C> subversion\svn\svn.exe propedit --editor-cmd=C:\usr\tmp\エディタ\editor-stub.cmd svn:ignore file:///C:/usr/tmp/svnrepos
-- Jun Omae <jun66j5_at_gmail.com> (大前 潤)Received on 2020-10-08 06:12:42 CEST |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.