[ruby-cvs:49640] naruse:r42498 (trunk): * file.c (rb_str_normalize_ospath):

naruse at ruby-lang.org naruse at ruby-lang.org
Sun Aug 11 05:44:13 JST 2013


naruse	2013-08-11 05:44:10 +0900 (Sun, 11 Aug 2013)

  New Revision: 42498

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42498

  Log:
    * file.c (rb_str_normalize_ospath):
      HFS Plus (Mac OS Extended) uses a variant of Normal Form D in which
      U+2000 through U+2FFF, U+F900 through U+FAFF, and U+2F800 through
      U+2FAFF are not decomposed (this avoids problems with round trip
      conversions from old Mac text encodings).
      http://developer.apple.com/library/mac/qa/qa1173/_index.html
      Therefore fix r42457 to exclude the range.

  Added files:
    trunk/ext/-test-/string/normalize.c
    trunk/test/-ext-/string/test_normalize.rb
  Modified files:
    trunk/ChangeLog
    trunk/dir.c
    trunk/ext/-test-/string/depend
    trunk/ext/-test-/string/extconf.rb
    trunk/file.c
    trunk/internal.h


More information about the ruby-cvs mailing list