<?php $text = file_get_contents('dinfil.sql'); $text = utf8_encode($text); file_put_contents('dinfil_utf8.sql',$text); ?>