I am making a quiz website where german is the main language. in PHP, When i count this text => "(ä, ö, ü and ß)", it return total 19 chars but in Javascript (in browser) it count as 15.
//- PHP
strlen("(ä, ö, ü and ß)"); // - returns 19
//- JS
"(ä, ö, ü and ß)".length; //- return 15
I need to make them equal. is it possible?