I have a small problem with php curl post.

I am trying to post some turkish characters to a forum but aren't posted how it should be.

This is how i save the text:
PHP Code: 
fwrite($fpp,"\xEF\xBB\xBF");
fwrite($fpp$row['template']);
fclose($fpp); 
and posting:
PHP Code: 
$this->curl curl_init();
curl_setopt $this->curlCURLOPT_URL$this->vb_url 'newthread.php?' $url_vars );
curl_setopt $this->curlCURLOPT_POSTtrue );
curl_setopt $this->curlCURLOPT_POSTFIELDS$post_fields );
curl_setopt $this->curlCURLOPT_RETURNTRANSFERtrue );
curl_setopt $this->curlCURLOPT_CONNECTTIMEOUT,20);
curl_setopt $this->curlCURLOPT_TIMEOUT,10);
curl_setopt $this->curlCURLOPT_HEADERtrue );
curl_setopt $this->curlCURLOPT_FOLLOWLOCATION0);
curl_setopt $this->curlCURLOPT_COOKIE$this->cookie_name );
curl_setopt $this->curlCURLOPT_COOKIEJAR$this->cookie_name );
curl_setopt $this->curlCURLOPT_COOKIEFILE$this->cookie_name );
curl_setopt $this->curlCURLOPT_USERAGENT'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1');
$result curl_exec $this->curl ); 
this is how it should be:
Code: 
B?l?m resimleri, dizi indirme ve altyazı linkine aşağıdan ulaşabilirsiniz.
this is how it is posted:
Code: 
Bölüm resimleri, dizi indirme ve altyaz? linkine a?a??dan ula?abilirsiniz.
Thanks
t3od0r Reviewed by t3od0r on . PHP Curl post with non-english characters I have a small problem with php curl post. I am trying to post some turkish characters to a forum but aren't posted how it should be. This is how i save the text: fwrite($fpp,"\xEF\xBB\xBF"); fwrite($fpp, $row); fclose($fpp); and posting: Rating: 5