stri_enc_info(enc = NULL)
NULL
or ""
for default encoding,
or a single string with encoding nameName.friendly
-- Friendly encoding name:
MIME Name or JAVA Name orName.ICU
-- Encoding name as identified byName.*
-- other standardized encoding names,
e.g.Name.UTR22
,Name.IBM
,Name.WINDOWS
,Name.JAVA
,Name.IANA
,Name.MIME
(some of them
may be unavailable for all the encodings);ASCII.subset
-- is ASCII a subset of the given encoding?;Unicode.1to1
-- for 8-bit encodings only: are all characters
translated to exactly one Unicode code point and is the translation
scheme reversible?;CharSize.8bit
-- is this an 8-bit encoding, i.e. do we haveCharSize.min == CharSize.max
andCharSize.min == 1
?;CharSize.min
-- minimal number of bytes used
to represent an UChar (in UTF-16, this is not the same as UChar32)CharSize.max
-- maximal number of bytes used
to represent an UChar (in UTF-16, this is not the same as UChar32,
i.e. does not reflect the maximal code point representation size)stri_enc_list
for more details)stri_enc_get
,
stri_enc_set
; stri_enc_list
;
stri_enc_mark
;
stringi-encoding