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

Ajustes para versão PHP 8.2.4 #590

Open
alemaorsl opened this issue Nov 28, 2023 · 1 comment
Open

Ajustes para versão PHP 8.2.4 #590

alemaorsl opened this issue Nov 28, 2023 · 1 comment

Comments

@alemaorsl
Copy link

Olá tudo bem?

tive problemas com a versão atual do PHP, fiz os testes e consegui contronar o problema fazendo alterações no arquivo

composer/vendor/nfephp-org/sped-da/src/NFe/Danfe.php
inicializando as variáveis:
protected $nfeProc;
protected $detPag;

composer/vendor/nfephp-org/sped-da/src/Legacy/Pdf.php
e na linha 895
de $text = utf8_encode($text);
$text = mb_convert_encoding($text, 'ISO-8859-1', 'UTF-8');

é possível colocar isso no projeto, ou se tiver outra solução melhor

@willian-autogestor
Copy link

Bom dia, alguma possição do ajuste?

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