Sitem utf-8 kodlama (Drupal) var.
I use include function to integrate my page with 3rd party service. But this gives a bad result - bad encoding for include part of page.
ben bu deneyin, ancak bu herhangi bir sonuç vermez:
iconv("ASCII","utf-8",include("http://new.velo-travel.ru/themes/themex/spectrum_view.php?$QUERY_STRING"))
Bu daha önce ben kodlamayı bilmeniz mb_detect_encoding
kullanın
bu included file,
$url = 'http://young.spectrum.ru/cgi-bin/programs_form.pl';
$params = $_GET;
if ($params){
$url .= '?';
foreach ($params as $key => $value) $url .= '&' . $keys . '=' . urlencode($value);
}
#$content = file_get_contents($url);
echo iconv("cp-1251","utf-8", $url);