PDA

View Full Version : How to change codes to my language please



winpeace
10-04-2008, 10:56 AM
Sorry my poor english first
this codes translates international characters but my language is turkish and not translate turkish
for example;
the letter ş is seem



# This translates international characters (anything above char 128)
if($codelock_international!="yes"){
$codelock_length = strlen($codelock_html); $new_codelock_html="";
for ($codelock_go=0; $codelock_go < $codelock_length; $codelock_go++) { $codelock_curr_string=$codelock_html[$codelock_go];
if (ord($codelock_curr_string) < 128) { $new_codelock_html.=$codelock_curr_string; } else {
$new_codelock_html.="&#".ord($codelock_curr_string).";";
}
}
$codelock_html=$new_codelock_html;
}


and the php files include this code too

# Default Encoding... Encrypt the whole page data
$codelock_nt_h=base64_encode($codelock_html);
$codelock_nt_h=str_replace("CAgI", "*", $codelock_nt_h); $codelock_nt_h=str_replace("W5", "!", $codelock_nt_h); $codelock_nt_h=str_replace("CAg", "@", $codelock_nt_h);
$codelock_newcode2="<script language=JavaScript>document.write(codelock_dec('$codelock_nt_h')); </script>";
}

winpeace
10-05-2008, 06:23 PM
help please