-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
TypeError in Strings::toAscii() #216
Comments
On which string it returns false` |
|
Also, there is warning
|
It seems to be a problem with Linux Alpine image as it mentioned here nunomaduro/phpinsights#43 (comment) But what about processing of iconv result? Is there any alternatives to $converted = iconv('UTF-8', 'ASCII//TRANSLIT//IGNORE', $s);
if ($converted !== false) {
$s = $converted;
} |
What is value of constant ICONV_IMPL? |
value is |
Fixed |
Thanks! It now works perfectly. When will be a release? |
I think in about a week… |
@dg Hello! What about a release? |
Version: 3.1.1
Bug Description
iconv() https://github.com/nette/utils/blob/master/src/Utils/Strings.php#L167 returns false on some strings
Steps To Reproduce
Original bug occurs when package was updated from 3.1.0 to 3.1.1 as a dependency for Easy Coding Standards library deprecated-packages/symplify#1787
The problem occurs on Linux Alpine Docker image.
Expected Behavior
No type error
The text was updated successfully, but these errors were encountered: