Not even fiddling with mb_internal_encoding could fix it, simply because the strings involved had *different* encodings and without actually changing one of them they just weren't going to match.Only then will the script properly echo '4').This is not affected by default_charset or other.ini settings.

Young gay internal

(as Author) (Chinese) (as Author) (Chinese) (as Author) (Chinese) (as Author) (Chinese) (as Author) (Chinese) (as Author) (Chinese) (as Author) (Chinese) (as Author) (Chinese) (as Author) (Chinese) (as

But unfortunately it was saved as UTF-8.Adjusting the default_charset had no effect.Scenario: The default_charset is KOI8-R, and there is a text file "input.

String literals in the PHP script are encoded with the same encoding that the PHP file was saved with.Asus sabertooth X99, Socket 2011-v3, iX99, 8*DDR4, 3*PCI-E, sata raid, sata 6Gb/s, ALC898 8ch, glan, USB3.1, ATX.