The Elearning Community • Character error when Exported to HTML (solved (: )
Page 1 of 1

Character error when Exported to HTML (solved (: )

Posted: Mon Dec 24, 2012 3:17 am
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;

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

Posted: Mon Dec 24, 2012 10:16 am
by max
Thanks Murat!

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

Posted: Sat Mar 30, 2013 12:45 pm
by Yalcin
it didn't work this way. Is there a different way?

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

Posted: Tue Apr 09, 2013 7:59 am
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.

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

Posted: Tue Apr 09, 2013 2:46 pm
by max
Thanks Murat! I don't understand Turkish, but I am sure your post was helpful for Yalçın ;-)

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

Posted: Fri Nov 22, 2013 12:45 pm
by Luisiana
This fix has been added to Forma, thanks for your collaboration!