JApplicationWebClientTest::testDetectEncoding

Tests the JApplicationWebClient::detectEncoding method.