| Server IP : 162.214.74.102 / Your IP : 216.73.217.46 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/String/ |
Upload File : |
U:RDoc::AnyMethod[iI"unicode_normalize:EFI"String#unicode_normalize;TF:publico:RDoc::Markup::Document:@parts[S:RDoc::Markup::Heading:
leveli: textI"Unicode Normalization;To:RDoc::Markup::BlankLine o:RDoc::Markup::Paragraph; [ I"FReturns a normalized form of +str+, using Unicode normalizations ;TI"HNFC, NFD, NFKC, or NFKD. The normalization form used is determined ;TI"Mby +form+, which is any of the four values :nfc, :nfd, :nfkc, or :nfkd. ;TI"The default is :nfc.;T@
o;; [
I"NIf the string is not in a Unicode Encoding, then an Exception is raised. ;TI"KIn this context, 'Unicode Encoding' means any of UTF-8, UTF-16BE/LE, ;TI"Iand UTF-32BE/LE, as well as GB18030, UCS_2BE, and UCS_4BE. Anything ;TI"<else than UTF-8 is implemented by converting to UTF-8, ;TI"&which makes it slower than UTF-8.;T@
o;; [I"_Examples_;T@
o:RDoc::Markup::Verbatim; [
I"D"a\u0300".unicode_normalize #=> 'à' (same as "\u00E0")
;TI"D"a\u0300".unicode_normalize(:nfc) #=> 'à' (same as "\u00E0")
;TI"F"\u00E0".unicode_normalize(:nfd) #=> 'à' (same as "a\u0300")
;TI"A"\xE0".force_encoding('ISO-8859-1').unicode_normalize(:nfd)
;TI"O #=> Encoding::CompatibilityError raised;T:@format0:
@fileI"lib/unicode_normalize.rb;T:0@omit_headings_from_table_of_contents_below0I"&str.unicode_normalize(form=:nfc)
;T0[ I"(form = :nfc);T@%FI"String;TcRDoc::NormalClassI"
scanf;T0