Re: Opening files with Unicode names under Windows?

2008-09-13 Fir de Conversatie Szabolcs Horvát
On Sat, Sep 13, 2008 at 16:09, Bram Moolenaar wrote: > > I wonder why this has not been a problem before. > It is not surprising that this does not come up often. Those people who use localized versions of Windows are less likely to run into such problems (for example on a Hungarian Windows syste

Re: Opening files with Unicode names under Windows?

2008-09-13 Fir de Conversatie Bram Moolenaar
Tony Mechelynck wrote: > On 11/09/08 11:18, Szabolcs wrote: > > > > > > On Sep 11, 1:08 am, Tony Mechelynck<[EMAIL PROTECTED]> > > wrote: > >> On 10/09/08 22:59, Szabolcs Horvát wrote: > >> > >>> 2008/9/10 Szabolcs<[EMAIL PROTECTED]>: > It turns out that I was wrong. Vim *can* open these f

Re: Opening files with Unicode names under Windows?

2008-09-11 Fir de Conversatie Tony Mechelynck
On 11/09/08 11:18, Szabolcs wrote: > > > On Sep 11, 1:08 am, Tony Mechelynck<[EMAIL PROTECTED]> > wrote: >> On 10/09/08 22:59, Szabolcs Horvát wrote: >> >>> 2008/9/10 Szabolcs<[EMAIL PROTECTED]>: It turns out that I was wrong. Vim *can* open these files if I use the :e command, or I bro

Re: Opening files with Unicode names under Windows?

2008-09-11 Fir de Conversatie Szabolcs
On Sep 11, 1:08 am, Tony Mechelynck <[EMAIL PROTECTED]> wrote: > On 10/09/08 22:59, Szabolcs Horvát wrote: > > > 2008/9/10 Szabolcs<[EMAIL PROTECTED]>: > >> It turns out that I was wrong.  Vim *can* open these files if I use > >> the :e command, or I browse to the file with Vim as you suggested,

Re: Opening files with Unicode names under Windows?

2008-09-10 Fir de Conversatie Tony Mechelynck
On 10/09/08 22:59, Szabolcs Horvát wrote: > 2008/9/10 Szabolcs<[EMAIL PROTECTED]>: >> It turns out that I was wrong. Vim *can* open these files if I use >> the :e command, or I browse to the file with Vim as you suggested, or >> I just drag it onto the Vim window. The problem is only present whe

Re: Opening files with Unicode names under Windows?

2008-09-10 Fir de Conversatie Szabolcs Horvát
2008/9/10 Szabolcs <[EMAIL PROTECTED]>: > > It turns out that I was wrong. Vim *can* open these files if I use > the :e command, or I browse to the file with Vim as you suggested, or > I just drag it onto the Vim window. The problem is only present when > I use the "Edit with Vim" entry of the ri

Re: Opening files with Unicode names under Windows?

2008-09-10 Fir de Conversatie Szabolcs
On Sep 10, 9:22 pm, Tony Mechelynck <[EMAIL PROTECTED]> wrote: > On 10/09/08 21:00, Szabolcs wrote: > > > > > I do have > > > set enc=utf-8 > > > in my vimrc, but Windows gVim (on English WinXP) still cannot open > > files with non-latin1 characters in the name.  For example, opening > > őű.txt

Re: Opening files with Unicode names under Windows?

2008-09-10 Fir de Conversatie Tony Mechelynck
On 10/09/08 21:00, Szabolcs wrote: > > I do have > > set enc=utf-8 > > in my vimrc, but Windows gVim (on English WinXP) still cannot open > files with non-latin1 characters in the name. For example, opening > őű.txt will try to open ou.txt. I use version 7.2 downloaded from > www.vim.org. What

Re: Opening files with Unicode names under Windows?

2008-09-10 Fir de Conversatie Szabolcs
I do have set enc=utf-8 in my vimrc, but Windows gVim (on English WinXP) still cannot open files with non-latin1 characters in the name. For example, opening őű.txt will try to open ou.txt. I use version 7.2 downloaded from www.vim.org. What might be the difference between my and Vadim Zeitl

Re: Opening files with Unicode names under Windows?

2008-09-10 Fir de Conversatie Tony Mechelynck
On 10/09/08 16:12, Vadim Zeitlin wrote: > Hello Tony, > > On Sep 10, 3:30 am, Tony Mechelynck<[EMAIL PROTECTED]> > wrote: >>>Assuming I am not missing some trivial option/workaround which would >>> allow >>> to open these files in Vim > [obviously I did... sorry for the noise and thanks a l

Re: Opening files with Unicode names under Windows?

2008-09-10 Fir de Conversatie Vadim Zeitlin
Hello Tony, On Sep 10, 3:30 am, Tony Mechelynck <[EMAIL PROTECTED]> wrote: > >   Assuming I am not missing some trivial option/workaround which would allow > > to open these files in Vim [obviously I did... sorry for the noise and thanks a lot for your answer!] > 2. What is your 'encoding' opti

Re: Opening files with Unicode names under Windows?

2008-09-10 Fir de Conversatie Tony Mechelynck
On 10/09/08 04:15, John Beckett wrote: > Vadim Zeitlin wrote: >> So, for example, opening a file "Аня.vcf" opens the file >> "???.vcf" on my English Windows system. > > Tony's advice about encoding might fix the situation. I have the following in > my > vimrc: > > set encoding=utf-8 > > and can o

RE: Opening files with Unicode names under Windows?

2008-09-09 Fir de Conversatie John Beckett
Vadim Zeitlin wrote: > So, for example, opening a file "Аня.vcf" opens the file > "???.vcf" on my English Windows system. Tony's advice about encoding might fix the situation. I have the following in my vimrc: set encoding=utf-8 and can open a file with the name you mentioned on Windows. The f

Re: Opening files with Unicode names under Windows?

2008-09-09 Fir de Conversatie Tony Mechelynck
On 10/09/08 01:45, Vadim Zeitlin wrote: > Hello, > > Sorry in advance if I'm simply missing something but it looks like Vim > can't open files with Unicode file names which are not convertible to the > current locale. I'm still using 7.0 (standard Win32 version) but looking at > http://vim.svn

Opening files with Unicode names under Windows?

2008-09-09 Fir de Conversatie Vadim Zeitlin
Hello, Sorry in advance if I'm simply missing something but it looks like Vim can't open files with Unicode file names which are not convertible to the current locale. I'm still using 7.0 (standard Win32 version) but looking at http://vim.svn.sourceforge.net/viewvc/vim/vim7/src/os_win32.c?view=m