Hi Charles!
On Fr, 27 Mär 2015, Charles Campbell wrote:
> Bram Moolenaar wrote:
> > Charles Campbell wrote:
> >
> >> I tried a directory named "josé" and found that netrw wasn't handling it
> >> well. One of the reasons is expand("%"), which is used to get the full
> >> path. However, when in that directory, expand("%") shows
> >> /home/cec/joe<e9> instead of the desired /home/cec/josé . Do I need to
> >> program around this or is this problem a bug with expand()?
> > I don't see this problem. What is 'encoding' set to?
> >
> enc is utf-8. By bisection of my .vimrc, I find that the following is
> enough in a .vimrc to cause the <e9> to appear instead of é
>
>
> set nocp
> filetype plugin on
> set enc=utf-8
In what filetype did you execute the expand() call?
Best,
Christian
--
Ich brenne - sagte die Lampe.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.