Tuesday, August 21, 2012

Re: Vim perl highlighting doesn't understand UTF-8?

On Monday, August 20, 2012 3:20:00 PM UTC-5, Linda W wrote:
> Linda W wrote:
>
>
> Sorta weird -- vim supposed to be in UTF-8, perl as well, but UTF-8 source
>
> gets complicated... Ya gotta wonder about claims of UTF-8 compat when it's
>
> so hard to get basic parts of the UTF-8 alphabet not to be flagged as
>
> errors.

Ya gotta wonder why you think you'll ever get help on this list when almost every post of yours contains inflammatory remarks like that one.

Vim itself supports editing, displaying, modifying, entering, and saving UTF-8 information. The interfaces for doing so in script could be improved, and many syntax highlighting scripts might lack support for really weird things like UTF-8 identifiers in code in a language that almost the entire world writes in ASCII, but yes, Vim supports UTF-8 for most sane definitions of "support".

No, I don't know of an option to highlight UTF-8 "correctly" in Perl. While you can try the Perl list Ben H. pointed you to more politely than I would have; yes, I would take the lack of response as an indication that there might actually be no such option. You could try :help perl.vim to see if there is such an option, as well as the header comments in $VIMRUNTIME/syntax/perl.vim. If you did check and there is no such option documented, then my guess is that there is in fact no such option.

--
You received this message from the "vim_use" 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

No comments:

Post a Comment