I have a problem, I can not convert my string from CP1252 to UTF-8, my string comes from a .DBF (Windows) file that is read by my PHP functions
- My application is fully encoded in UTF8
My file .dbf is load with php-xbase
$table = new Table($file, null, "Windows-1252//TRANSLIT");
or
$table = new Table($file);
is not working my string return :
Ordures M‚nagŠres
I also tried to do this directly but it gives the same result:
echo iconv('CP1252', 'UTF-8', "Ordures M‚nagŠres");
Ordures M‚nagŠres
Do you have an idea of where it can come from, knowing from php-xbase uses iconv to convert characters but it has no effect I lose the accents of letters...
Thank you for your help and sorry for my bad English