Loading ...
Sorry, an error occurred while loading the content.

Re: vim (6.3.85) accepts overlong UTF-8 sequences

Expand Messages
  • Tony Mechelynck
    ... From: Bram Moolenaar To: Ron Aaron Cc: Sent: Wednesday, July 27, 2005 11:29 PM Subject: Re:
    Message 1 of 5 , Jul 27, 2005
    • 0 Attachment
      ----- Original Message -----
      From: "Bram Moolenaar" <Bram@...>
      To: "Ron Aaron" <ron@...>
      Cc: <vim-dev@...>
      Sent: Wednesday, July 27, 2005 11:29 PM
      Subject: Re: vim (6.3.85) accepts overlong UTF-8 sequences


      >
      > Ron Aaron wrote:
      >
      >> Loading the 'UTF-8 Stress test' file:
      >>
      >> http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt
      >>
      >> I can see all the "unsafe" UTF-8 sequences. Probably it would be a
      >> good idea to at least have a flag to say whether or not to be
      >> 'unsafe'.
      >
      > What do you suggest, reject to edit the file?

      I guess the todo.txt line 1352 applies here:
      8 Detect overlong UTF-8 sequences and handle them like illegal bytes.

      Best regards,
      Tony.
    Your message has been successfully submitted and would be delivered to recipients shortly.