ie cant get data from input type text : I have input type text like this:

<input type="text" class="f_taskname" value=""/>

When user writes something into it and push enter the next script works:

var task_name=$('#filter_body').find('.f_taskname').val();

and call ajax with parameters:

url:url,
dataType: 'text',
type:'get',
data: { task_name: task_name},
contentType: "application/x-www-form-urlencoded; charset=UTF-8",

It work in FF, Google, but isnt working in IE. 
Ive made log file and it is getting data from task_name variable in php script

    $f1=fopen('log.txt', 'w');
    $output=$task_name.PHP_EOL;
    fwrite($f1, $output);
    fclose($f1);

It work fine with english words, but with russian it doesnt work and in log file i see things like chianise symbols.

What is wrong?
