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

Re: [PATCH] typo in mbyte.c causes incorrect case conversion

Expand Messages
  • Bram Moolenaar
    ... I m glad you found this mistake! Searching with Google for __STDC__ISO_10646__ only finds Vim sources ... -- INSPECTOR END OF FILM: Move along. There s
    Message 1 of 1 , Apr 30, 2006
    • 0 Attachment
      Sertacyildiz wrote:

      > Case conversion of characters 'iİıI' doesn't work in tr_TR.UTF-8 locale.
      > Setting 'casemap' combinations also doesn't help.
      >
      > Correct conversions should be:
      > 'Ä°' (U+0130) <--> 'i' (U+0069)
      > 'ı' (U+0131) <--> 'I' (U+0049)
      >
      > The reason seems to be a typo in mbyte.c, which attached patch
      > addresses.
      >
      > In utf_toupper() and utf_tolower() there's:
      > | #if defined(HAVE_TOWUPPER) && defined(__STDC__ISO_10646__)
      >
      > whereas in my /usr/include/features.h, I have:
      > | #define __STDC_ISO_10646__ 200009L
      > ----------------^

      I'm glad you found this mistake!

      Searching with Google for __STDC__ISO_10646__ only finds Vim sources
      :-).

      --
      INSPECTOR END OF FILM: Move along. There's nothing to see! Keep moving!
      [Suddenly he notices the cameras.]
      INSPECTOR END OF FILM: (to Camera) All right, put that away sonny.
      [He walks over to it and puts his hand over the lens.]
      "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ download, build and distribute -- http://www.A-A-P.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
    Your message has been successfully submitted and would be delivered to recipients shortly.