HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/ri/3.0.0/system/String/downcase-i.ri
U:RDoc::AnyMethod[iI"
downcase:ETI"String#downcase;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[	I"QReturns a copy of <i>str</i> with all uppercase letters replaced with their ;TI"Nlowercase counterparts. Which letters exactly are replaced, and by which ;TI"Nother letters, depends on the presence or absence of options, and on the ;TI"+encoding+ of the string.;To:RDoc::Markup::BlankLineo;
;	[I"0The meaning of the +options+ is as follows:;T@o:RDoc::Markup::List:
@type:	NOTE:@items[
o:RDoc::Markup::ListItem:@label[I"No option ;T;	[o;
;	[	I"<Full Unicode case mapping, suitable for most languages ;TI"A(see :turkic and :lithuanian options below for exceptions). ;TI"FContext-dependent case mapping as described in Table 3-14 of the ;TI"1Unicode standard is currently not supported.;To;;[I":ascii ;T;	[o;
;	[I"COnly the ASCII region, i.e. the characters ``A'' to ``Z'' and ;TI"#``a'' to ``z'', are affected. ;TI":This option cannot be combined with any other option.;To;;[I"
:turkic ;T;	[o;
;	[I"=Full Unicode case mapping, adapted for Turkic languages ;TI"L(Turkish, Azerbaijani, ...). This means that upper case I is mapped to ;TI"%lower case dotless i, and so on.;To;;[I":lithuanian ;T;	[o;
;	[I"LCurrently, just full Unicode case mapping. In the future, full Unicode ;TI"Lcase mapping adapted for Lithuanian (keeping the dot on the lower case ;TI"*i even if there is an accent on top).;To;;[I":fold ;T;	[o;
;	[	I"POnly available on +downcase+ and +downcase!+. Unicode case <b>folding</b>, ;TI";which is more far-reaching than Unicode case mapping. ;TI"DThis option currently cannot be combined with any other option ;TI"?(i.e. there is currently no variant for turkic languages).;T@o;
;	[I"MPlease note that several assumptions that are valid for ASCII-only case ;TI"Mconversions do not hold for more general case conversions. For example, ;TI"Mthe length of the result may not be the same as the length of the input ;TI"F(neither in characters nor in bytes), some roundtrip assumptions ;TI"K(e.g. str.downcase == str.upcase.downcase) may not apply, and Unicode ;TI"Qnormalization (i.e. String#unicode_normalize) is not necessarily maintained ;TI" by case mapping operations.;T@o;
;	[I"FNon-ASCII case mapping/folding is currently supported for UTF-8, ;TI"BUTF-16BE/LE, UTF-32BE/LE, and ISO-8859-1~16 Strings/Symbols. ;TI"6This support will be extended to other encodings.;T@o:RDoc::Markup::Verbatim;	[I"#"hEllO".downcase   #=> "hello";T:@format0:
@fileI"
string.c;T:0@omit_headings_from_table_of_contents_below0I"Ostr.downcase              -> new_str
str.downcase([options])   -> new_str
;T0[I"(*args);T@WFI"String;TcRDoc::NormalClass00