Welcome Guest, Not a member yet? Register   Sign In
encoding problam with ajax
#3

[eluser]A.M.F[/eluser]
ok i solved the thing.
after searching in google i found this functions that converts UTF-8 to the charset that i need:
Code:
function iconv_cp1255_utf8 ($cp1255) {
     return preg_replace("/([\xE0-\xFA])/e","chr(215).chr(ord(\${1})-80)",$cp1255);
}

cheers!


Messages In This Thread
encoding problam with ajax - by El Forum - 10-06-2008, 10:42 AM
encoding problam with ajax - by El Forum - 10-06-2008, 11:48 PM
encoding problam with ajax - by El Forum - 10-07-2008, 12:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB