Skip to content
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

PHP future deprecation warning #89

Open
avizaz opened this issue Feb 20, 2020 · 2 comments
Open

PHP future deprecation warning #89

avizaz opened this issue Feb 20, 2020 · 2 comments

Comments

@avizaz
Copy link

avizaz commented Feb 20, 2020

Getting this
Warning: Use of undefined constant ICONV_TRANSLIT - assumed 'ICONV_TRANSLIT' (this will throw an Error in a future version of PHP)

using like this:
Encoding::fixUTF8($str, Encoding::ICONV_TRANSLIT);

@avizaz avizaz changed the title PHP future deprecation wraning PHP future deprecation warning Feb 20, 2020
@avizaz
Copy link
Author

avizaz commented Apr 5, 2021

PHP8 - Fatal error: Uncaught Error: Undefined constant "ICONV_TRANSLIT", unfortunately looks like author dropped this

@garrettw
Copy link

You have to have the iconv PHP extension installed and loaded for that to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants