• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Caracteres especiais no PDFGenerator
PostPosted: Sun Apr 12, 2020 3:34 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Wed Mar 11, 2020 6:38 pm
Posts: 16
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


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Caracteres especiais no PDFGenerator
PostPosted: Fri Apr 17, 2020 6:16 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Mon Jan 29, 2007 4:47 pm
Posts: 1789
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.

_________________
"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 Conduit | CMSMS Docs
Help Support CMSMS
My developer Page on the Forge | Yet another blog about CMSMS

GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Caracteres especiais no PDFGenerator
PostPosted: Sat Apr 18, 2020 9:54 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Wed Mar 11, 2020 6:38 pm
Posts: 16
Também ja me ocorreu verificar a configuração da base de dados e as tabelas estão em utf8_general_ci


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Caracteres especiais no PDFGenerator
PostPosted: Sat Apr 18, 2020 11:12 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Mon Jan 29, 2007 4:47 pm
Posts: 1789
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 Conduit | CMSMS Docs
Help Support CMSMS
My developer Page on the Forge | Yet another blog about CMSMS

GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Caracteres especiais no PDFGenerator  Topic is solved
PostPosted: Wed Apr 22, 2020 11:54 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Mon Jan 29, 2007 4:47 pm
Posts: 1789
Ok o problema está relacionado com as fontes usadas nos PDFs que só suportam ANSI.
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 Conduit | CMSMS Docs
Help Support CMSMS
My developer Page on the Forge | Yet another blog about CMSMS

GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Hosting Nation - Managed CMSMS Hosting