-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Truncator: encoding problems #2154
Comments
Hi, is there any Information missing, I can help you with? Thank you, Peter |
Seems that problem still exists in 1.7 |
Seems to be environment dependant. Works on share hoster A and not on B. Did not find the difference yet. But basically I could narrow down the issue to |
PHP version? Maybe some library? |
Many small differences starting with the OS (SunOS where it does not work vs. Linux). |
You likely mean Solaris as SunOS hasn't been updated for 25 years now. BTW, you can also fix this with php.ini setting, but yeah, we should pass the encoding to the method. |
As I am not a developer somebody should review the change.
Hi,
Truncator::truncateWords has problems truncating texts with german letters.
In short summaries '?' signs are shown instead of "äöü".
Long texts are displayed correctly.
I played around with the Truncator Source to find the source of the Problem.
htmlToDomDocument does not work correctly:
When I set $html = "äöü"; , the output in the Chrome-Browser are ?-signs.
The Problem exists in grave Versions 1.4.x and 1.5.
Thank you!
The text was updated successfully, but these errors were encountered: