Problem with UTF-8

I need to export to PDF but using encoding ISO-8859-1. what do i have to change in php package? I need help!!!

Hi,
grid-pdf-php should work with encoding ISO-8859-1 out-of-box.
Could you provide a sample if it doesn’t work correctly?

Hi, when i execute ‘"mygrid.toPDF(’/Funciones_Script/dhtmlx/dhtmlxHunsc/codebase/grid-pdf-php/generate.php’ have this error:
“\codebasegrid-pdf-php\generate.php at 20 : simplexml_load_string(): Entity: line 96: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xD1 0x41 0x20 0x4F”

this happens when the xml file has a line with ñ like this:
FARIÑA GONZALEZ, EUGENIA VICTORIA

???

Hi,
could you provide complete demo of your grid? It works correctly at local sample.

Hi,
this is the xml file:

<?xml version="1.0" encoding="ISO-8859-1" ?>
  • NHC NOMBRE PACIENTE N.REGISTRO FECHA/HORA INGRESO
  • %
  • 263880 FARIÑA OTAZO, JOSE ANTONIO 12-1736197 25/05/2012 14:01

and this is to load the dhtmlxgrid:

Listado de Ectópicos

I hope this will be enough.
thanks.

Hi,
still works correctly, I’ve attached a sample.
Could you provide complete files?
iso-8859-1-export.zip (1.04 KB)

Hi, i realized that you include:

and i have

but in my server i don’t have dhtmlxgrid_export_release.js!!!

Hi, it works finally. I downloaded the last version of dhtmlxgrid component (v3.0) and using the new dhtmlx_export.js there is no error.
Thank you very much for your effort !!!