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

59775Re: Spelling support doesn’t deal with ‘’’ correctly

Expand Messages
  • Mike Williams
    Dec 1, 2010
    • 0 Attachment
      On 01/12/2010 11:18, Nikolai Weibull wrote:
      > On Wed, Dec 1, 2010 at 12:05, Mike Williams
      > <mike.williams@...> wrote:
      >
      >> If the spell lists are in 7-bit ASCII then applying a Unicode to ASCII
      >> conversion should map U+2019 to U+0027 and make spell DWIM.
      >
      > What do you mean by ”applying a Unicode to ASCII conversion”?

      Passing the Unicode encoded text through something like iconv to produce
      an ASCII version of it. There are standard mapping tables for the
      punctuation symbols that would handle most of the general punctuation
      block U+2000-206F. For example left and right double quotes would both
      be mapped to the quotation character.

      It will depend on how any Unicode characters that have no mapping are
      treated. In a conversion you normally are allowed to specify a
      replacement character for them. Ideally you would pick a character that
      would not be picked up by the spell code.

      HTH

      Mike
      --
      .egassem terces eht dnuof evah ouY !snoitalutargnoC

      --
      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
    • Show all 25 messages in this topic