projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bb6535
)
Bug 4504. utf-8 decoding not working for some special characters on pdf reports....
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sun, 26 Aug 2018 16:54:20 +0000
(18:54 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sun, 26 Aug 2018 16:54:20 +0000
(18:54 +0200)
reporting/includes/tcpdf.php
patch
|
blob
|
history
diff --git
a/reporting/includes/tcpdf.php
b/reporting/includes/tcpdf.php
index 139dea600bfc788c01f7d14f9fa65c7aec02a739..c2140575276e9d5b8ad773b34c182a413650c199 100644
(file)
--- a/
reporting/includes/tcpdf.php
+++ b/
reporting/includes/tcpdf.php
@@
-5731,10
+5731,7
@@
if (!class_exists('TCPDF')) {
* @return string converted
*/
function unhtmlentities($text_to_convert) {
- if (!$this->isunicode) {
- return html_entity_decode($text_to_convert, ENT_QUOTES);
- }
- return html_entity_decode_php4($text_to_convert);
+ return html_entity_decode($text_to_convert, ENT_QUOTES, $this->encoding);
}
// ENCRYPTION METHODS ----------------------------------