Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/String/unicode_normalize-i.ri
Arrière
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
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0.02 |
proxy
|
phpinfo
|
Réglages