Error utf-8 pt-br
Listing items for the Portuguese, it is necessary to change the method "getValue" the ReportValue.php

Thanks for that man! Brigadão!
return htmlentities(utf8_decode($return));
Also works, and may be more correct. Dunno, just test it.
Still not sure why I can't use UTF-8 though. Eveything is in UTF-8. The non-report parts of my app also accept the same data fine (without the need for utf8_decode).
same issue is solved for spanish too. thanks!
El 24 abr 2017, a las 8:10 a.m., Gustavo Arnosti Neves [email protected] escribió:
Thanks for that man! Brigadão!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jdorn/php-reports/issues/237#issuecomment-296621610, or mute the thread https://github.com/notifications/unsubscribe-auth/AEXLii7wXl3OSQ8NamtimJFeCpWBBWwEks5rzIMpgaJpZM4KLcGg.
Hi, I am a newer in PHP. I am trying to build a php report within PHP-reports open source project, and I build a first report success with MYSQL. But the report's display content is not what I want. I had try to add "charset=utf8" on dsn or other method to fix the problem but can't solve it. Is anyone has solution?
My MySQL charset is UTF8 and I can see the content with Chinese via other tool, so I think the DB's config is well. Attachment is what the report display.
I would guess it is some encoding/decoding problem.
How is it in the source html rendered? Both the encoding tag and the actual encoded characters?
Did you try the fixes above?
Changing function getValue >
return htmlentities(utf8_decode($return));
or
return utf8_decode($return);
Been years since I used this.