2 Subject: Patch 6.3.041 (extra)
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Win32: When the path to a file has Russian characters, ":cd %:p:h"
12 doesn't work. (Valery Kondakoff)
13 Solution: Use a wide function to change directory.
17 *** ../vim-6.3.040/src/os_mswin.c Sun Sep 5 20:48:38 2004
18 --- src/os_mswin.c Sun Dec 5 16:39:37 2004
22 if (*path == NUL) /* drive name only */
26 + if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
28 + WCHAR *p = enc_to_ucs2(path, NULL);
37 + /* Retry with non-wide function (for Windows 98). */
42 return chdir(path); /* let the normal chdir() do the rest */
45 *** ../vim-6.3.040/src/version.c Sun Dec 5 16:18:46 2004
46 --- src/version.c Sun Dec 5 16:42:01 2004
50 { /* Add new patch number below this line */
56 For large projects, Team Leaders use sophisticated project management software
57 to keep track of who's doing what. The software collects the lies and guesses
58 of the project team and organizes them in to instantly outdated charts that
59 are too boring to look at closely. This is called "planning".
60 (Scott Adams - The Dilbert principle)
62 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
63 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
64 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
65 \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///