It depends on what you mean by "Capitalization"
strtoupper("lowercase srting");
ucfirst("lowercase string");
ucwords("lowercase string");
It may not work with Unicode strings, but it works with unicode strings:
mb_convert_case("lowercase string", MB_CASE_TITLE, "UTF-8");
mb_convert_case("UPPERCASE STRING", MB_CASE_TITLE, "UTF-8");
mb_convert_case("lowercase string", MB_CASE_UPPER, "UTF-8");
There is no direct approach for ucfirstmulti-byte characters. Php link
You can also do this in css:
td.sitename1 a, td.sitename1 div {
text-transform: uppercase;
}
td.sitename1 a, td.sitename1 div {
text-transform: capitalize;
}
source
share