VIM: how to change case of accented characters with 'gU'?

346 Views Asked by At

Following sentence contains all accented characters (chars with diacritic) that are used in Czech language.

příliš žluťoučký kůň úpěl ďábelské ódy

Now I convert this line to uppercase using gUU and I get:

PříLIš žLUťOUčKý Kůň úPěL ďáBELSKé óDY

instead of:

PŘÍLIŠ ŽLUŤOUČKÝ KŮŇ ÚPĚL ĎÁBELSKÉ ÓDY

As you can see the characters with accents don't get converted. What do I have to set in my .vimrc to get it working right?

0

There are 0 best solutions below