Hi,
ı upgrated my forum 1.4 successful,database,thread,posts after upgrade no character problem,but quick reply posts(ajax),after post(quick reply) username,user profile,signature, komplete character problem,only AJAX Quick Reply .
My db character set latin1, language charackter set ISO-8859-9.
how fix this problem?
Thanks.
sory for my english.
u can use UTF-8 ( with ajax )
(2008-08-06, 09:38 PM)LowBatteryMTR Wrote: [ -> ]u can use UTF-8 ( with ajax )
No,not now install myforum.
Quote:My db character set latin1, language charackter set ISO-8859-9.
Dodn you cannt use ajax with quick reply
I recommend converting everything to UTF-8 - for one, it supports AJAX natively and avoids issues of dynamic character set conversion.
(2008-08-07, 12:11 AM)ZiNgA BuRgA Wrote: [ -> ]I recommend converting everything to UTF-8 - for one, it supports AJAX natively and avoids issues of dynamic character set conversion.
Thanks for answer Zinga,But ı tested converting my forum utf-8 but many problems (Character-db) ,after to ge back latin1 (ISO-8859-9)
another arrangament for fix problem?
thanks.
(2008-08-07, 10:47 AM)MyBBHost Wrote: [ -> ]Download it
http://www.mybbturkiye.com/mybb-utf-tam-...11529.html
Mybb 1.4 Turkish UTF-8 Pack
No,not now install myforum.(Mtr paketini kullanıyorum ISO-8859-9)
(2008-08-06, 08:26 PM)roy Wrote: [ -> ]Hi,
ı upgrated my forum 1.4 successful,database,thread,posts after upgrade no character problem,but quick reply posts(ajax),after post(quick reply) username,user profile,signature, komplete character problem,only AJAX Quick Reply .
My db character set latin1, language charackter set ISO-8859-9.
how fix this problem?
Thanks.
sory for my english.
If you can't convert to UTF-8, you can try this code edit:
In global.php, find:
$plugins->run_hooks("global_start");
add before:
if($mybb->input['ajax'] && strtolower($lang->settings['charset']) != "utf-8")
{
$use_iconv = function_exists("iconv");
$use_mb_conv = function_exists("mb_convert_encoding");
if($use_iconv || $use_mb_conv || strtolower($lang->settings['charset']) == "iso-8859-1")
{
foreach($mybb->input as $name => $value)
{
if(!ctype_alnum($value))
{
if($use_iconv)
{
$mybb->input[$name] = iconv("UTF-8", $lang->settings['charset'], $value);
}
elseif($use_mb_conv)
{
$mybb->input[$name] = @mb_convert_encoding($value, $lang->settings['charset'], "UTF-8");
}
else
{
$mybb->input[$name] = utf8_decode($value);
}
}
}
}
}