ini_set('mbstring.internal_encoding','UTF-8')
what does this signify at the beginning of a php file and what is it used for ?
I know that a php manual exists but it does not explain it in plain common man's language.
ini_set('mbstring.internal_encoding','UTF-8')
what does this signify at the beginning of a php file and what is it used for ?
I know that a php manual exists but it does not explain it in plain common man's language.
Copyright © 2021 Jogjafile Inc.
It defines the default internal character encoding to UTF-8 character set type.
This is used to make a site multilingual by changing the
mbstring.internal_encoding
value.And UTF-8 (8-bit Unicode Transformation Format) is a variable-length character encoding for Unicode.
You can change it using the
iso-8859-1
,UTF-8
, etc.Here is the list of Unicode character list.