Character error when Exported to HTML (solved (: )

Backend functionalities: user management, course management, reports, certificates, etc.
Post Reply
User avatar
murat
FormaLms User
Posts: 114
Joined: Fri Oct 12, 2012 6:28 pm
Version: forma.lms 2.0

Character error when Exported to HTML (solved (: )

Post by murat »

Hi,

(İÇçÖöÜüŞşĞğ) letters error fixes.

to be corrected file;

Code: Select all

doceboLms\admin\modules\report\report_tableprinter.php

Code: Select all

switch ($this->type) {
case _HTML: {
$this->buffer .= '<p id="report_info">'.$content_html.'</p><br />';
} break;
change

Code: Select all

switch ($this->type) {
case _HTML: {
$head='<head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head>';
$this->buffer .= $head.'<style>'.
'td, th { border:solid 1px black; } '.
'</style><table><tr><td>'.$content_html.'</td></tr></table><br /><br />';
} break;
or

Code: Select all

switch ($this->type) {
case _HTML: {
$head='<head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head>';
$this->buffer .= $head
.'<p id="report_info">'.$content_html.'</p><br />';
} break;
Last edited by murat on Sun Jun 16, 2013 10:33 pm, edited 2 times in total.
Hello,I'm Murat. If you need me, you can contact my mail
User avatar
max
FormaLms Guru
Posts: 2739
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Character error when Exported to HTML (solved (: )

Post by max »

Thanks Murat!
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
Yalcin
Newbie
Posts: 1
Joined: Sat Mar 30, 2013 11:39 am

Re: Character error when Exported to HTML (solved (: )

Post by Yalcin »

it didn't work this way. Is there a different way?
User avatar
murat
FormaLms User
Posts: 114
Joined: Fri Oct 12, 2012 6:28 pm
Version: forma.lms 2.0

Re: Character error when Exported to HTML (solved (: )

Post by murat »

Merhaba Yalçın,

Bu şekilde çalışıyor , phpmyadmin karşılaştırmayı utf-general yaptın mı?

Yada değişikliği yaptıktan sonra tarayıcı geçmişini temizle ve sayfaya yeniden gir.

Büyük ihtimalle çözülecektir.

Çözülmezse özelden mesaj at,yardımcı olayım tamam.
Hello,I'm Murat. If you need me, you can contact my mail
User avatar
max
FormaLms Guru
Posts: 2739
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Character error when Exported to HTML (solved (: )

Post by max »

Thanks Murat! I don't understand Turkish, but I am sure your post was helpful for Yalçın ;-)
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
User avatar
Luisiana
FormaLms User
Posts: 50
Joined: Thu Mar 01, 2012 3:05 pm
Contact:

Re: Character error when Exported to HTML (solved (: )

Post by Luisiana »

This fix has been added to Forma, thanks for your collaboration!
Post Reply