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

problema no encoding (depracated) #24

Open
jvtuta opened this issue Sep 18, 2023 · 2 comments
Open

problema no encoding (depracated) #24

jvtuta opened this issue Sep 18, 2023 · 2 comments

Comments

@jvtuta
Copy link

jvtuta commented Sep 18, 2023

O função utf8_decode está depreciada, é necessário utilizar a mb_convert_encoding('', "UTF-8").

@jvtuta
Copy link
Author

jvtuta commented Sep 18, 2023

Na classe CoffeeCode\Cropper\Cropper, na linha 126, é necessário trocar o utf8_decode para mb_convert_encoding("", "UTF-8");

@jvtuta
Copy link
Author

jvtuta commented Sep 18, 2023

Correção

CoffeCode\Cropper\Cropper;
Alteração na linha 126:
$trimName = trim(strtr(mb_convert_encoding($filterName, 'UTF-8'), mb_convert_encoding($formats, 'UTF-8'), $replace));

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

1 participant