-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detected an illegal character in input string #6
Comments
This is your hosting, php or iconv version issue, not PdfBundle nor PHPPdf. 271st line is:
"//IGNORE" suffix should supress this notice, but dosn't. Check php and iconv versions on your hosting and check changelogs of this versions, maybe there you will find bugfix. |
This error depends on your TTF font file. if your ttf file is not sutable your special character this error occurs. Try this in your |
@sedatkocadogan sorry for the delayed response. I been busy, what can I try? the message was cut off I think. Thanks for the help, I cant do anything on the server because is shared :( So I need a walkaround. Thanks. |
Hımm. Ok. this problem occurs non english characters in your string to send to PDF. Maybe you can edit your strings without non english characters. I solve this problem upload to server correct TTF font file. |
Hello,
Maybe this is resolve somewhere but I could not find it clearly.
I have a dev enviromento for a system that creates a pdf file, its working fine in windows 7 using apache and mysql.
Then I upload the system to my linux centosOS prod enviroment and I am encoutering the following issue.
*Notice: iconv() [function.iconv]: Detected an illegal character in input string in /home/xxxx/public_html/DEV/XXXX/vendor/PHPPdf/lib/vendor/Zend/Pdf/Resource/Font/Simple/AbstractSimple.php line 271 *
Has someone dealt with this already and can provide a clue on whats wrong with my library implementation.
I am using a HOSTGATOR shared server,
I have the default configuration for the bundle, as described in the documentation.
Cheers.
The text was updated successfully, but these errors were encountered: