public
Description: Repository for improving Rails documentation
Homepage: http://www.rubyonrails.org
Clone URL: git://github.com/lifo/doc-rails.git
fixed-width font for symbols and details in utf8_handler.rb docs
Xavier Noria (author)
Sat Apr 19 12:37:13 -0700 2008
commit  a0eb213b91f39930f0ceeb1f4563d1dca02e5a9f
tree    570909cd8e1af3a40c665ae86ecc7dff2c38d5a9
parent  14739c4c25f3a9fa4e0c2df021590f437d4e1247
...
284
285
286
287
 
 
 
288
289
290
...
284
285
286
 
287
288
289
290
291
292
0
@@ -284,7 +284,9 @@ module ActiveSupport::Multibyte::Handlers #:nodoc:
0
       # passing strings to databases and validations.
0
       #
0
       # * <tt>str</tt> - The string to perform normalization on.
0
- # * <tt>form</tt> - The form you want to normalize in. Should be one of the following: :c, :kc, :d or :kd.
0
+ # * <tt>form</tt> - The form you want to normalize in. Should be one of the following:
0
+ # <tt>:c</tt>, <tt>:kc</tt>, <tt>:d</tt>, or <tt>:kd</tt>. Default is
0
+ # ActiveSupport::Multibyte::DEFAULT_NORMALIZATION_FORM.
0
       def normalize(str, form=ActiveSupport::Multibyte::DEFAULT_NORMALIZATION_FORM)
0
         # See http://www.unicode.org/reports/tr15, Table 1
0
         codepoints = u_unpack(str)

Comments

    No one has commented yet.