Merhaba, Türkçe karakterlerin bazılarında sorun yaşıyorum. ç,ö,ü harfleinde hata olmamasına rağmen ı,ş yazınca %u015F çıkıyor. Bu arada $lang['ENCODING'] = 'iso-8859-9'; şeklinde.

teşekkürler

<?php
 
ob_start();  
define('IN_PHPBB',true);
define('AJAX_DEBUG', false);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/bbcode.' . $phpEx);
error_reporting(0);//Disable error reporting, can be bad for our headers ;)
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
if(file_exists($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_shout.' . $phpEx))
{
 include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_shout.' . $phpEx);
}
else 
{
 include($phpbb_root_path . 'language/lang_turkish/lang_shout.' . $phpEx);
}
$mode = (isset($HTTP_GET_VARS['m'])) ? htmlspecialchars($HTTP_GET_VARS['m']) : (isset($HTTP_POST_VARS['m']) ? htmlspecialchars($HTTP_POST_VARS['m']) : 'index');
$ajax_m = array('add','del','view','check', 'smilie', 'delete', 'nr');
$err = false;
if(in_array($mode,$ajax_m))
{
 
 ob_end_clean();
 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT" ); 
 header("Last-Modified: " . gmdate( "D, d M Y H:i:s" ) . "GMT" ); 
 header("Cache-Control: no-cache, must-revalidate" ); 
 header("Pragma: no-cache" );
 header("Content-type: text/xml; charset=" . $lang['ENCODING']); 
 print '<'.'?xml version="1.0" encoding="' . $lang['ENCODING'] . '" ?'.'>
 <xml>';
 
}
elseif($mode == 'js')
{
  //JS :D
  ob_end_clean();
 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT" ); 
 header("Last-Modified: " . gmdate( "D, d M Y H:i:s" ) . "GMT" ); 
 header("Cache-Control: no-cache, must-revalidate" ); 
 header("Pragma: no-cache" );
 header("Content-type: text/javascript; charset=" . $lang['ENCODING']); 
}
 
if($mode == 'js')
{
 
//We are printing the correct js. Note that this IS dynamic, so we cannot add it to a simple JS file ;)
 ?>