Olá pessoal,
Estou a tentar usar o módulo PDFGenerator no site que estou a desenvolver. funciona muito bem, excepto que ele não lida muito bem com os caracteres especiais do nosso português. Será uma limitação do módulo ou será que me escapou algum pormenor de codificação?
Obrigado, desde já...
TPrigas
Caracteres especiais no PDFGenerator
Moderator: Jo Morg
Re: Caracteres especiais no PDFGenerator
Olá TPrigas, bem-vindo ao nosso forum.
Tanto quanto sei o módulo suporta UTF-8, apesar de nunca o ter testado com textos em português.
Normalmente os CMSs suportam UTF-8 para todos os caracteres especiais tendo a base de dados de estar configurada para isso. Vou tentar testar o módulo num site com textos em Português assim que tiver algum tempo livre. No entanto confirme se a base de dados está configurada como descrevi.
Tanto quanto sei o módulo suporta UTF-8, apesar de nunca o ter testado com textos em português.
Normalmente os CMSs suportam UTF-8 para todos os caracteres especiais tendo a base de dados de estar configurada para isso. Vou tentar testar o módulo num site com textos em Português assim que tiver algum tempo livre. No entanto confirme se a base de dados está configurada como descrevi.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: Caracteres especiais no PDFGenerator
Também ja me ocorreu verificar a configuração da base de dados e as tabelas estão em utf8_general_ci
Re: Caracteres especiais no PDFGenerator
Ok! Assim que tiver um tempinho este fim de semana testo.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: Caracteres especiais no PDFGenerator
Ok o problema está relacionado com as fontes usadas nos PDFs que só suportam ANSI.
A solução: viewtopic.php?p=345328#p345328
A solução: viewtopic.php?p=345328#p345328
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!