Skip to content

PHP Fatal error: Uncaught exception 'stringEncode\Exception' with message 'The convertion from "CP-850" to "UTF-8" was a failure. #79

Closed
@cleartext

Description

@cleartext

Error with character conversion... paths sanitised. imap_connector.php is our CLI code.

PHP Warning: Module 'imap' already loaded in Unknown on line 0
PHP Notice: iconv(): Wrong charset, conversion from CP-850' toUTF-8' is not allowed in ........vendor/paquettg/string-encode/src/stringEncode/Encode.php on line 97
PHP Fatal error: Uncaught exception 'stringEncode\Exception' with message 'The convertion from "CP-850" to "UTF-8" was a failure.' in ..../vendor/paquettg/string-encode/src/stringEncode/Encode.php:103
Stack trace:
#0 ....../vendor/paquettg/php-html-parser/src/PHPHtmlParser/Dom/TextNode.php(64): stringEncode\Encode->convert(' Hello!')
#1 ..../vendor/paquettg/php-html-parser/src/PHPHtmlParser/Dom/HtmlNode.php(80): PHPHtmlParser\Dom\TextNode->text()
#2 ...../vendor/paquettg/php-html-parser/src/PHPHtmlParser/Dom/AbstractNode.php(80): PHPHtmlParser\Dom\HtmlNode->innerHtml()
#3 ......imap_connector.php(346): PHPHtmlParser\Dom\AbstractNode->__get('InnerHTML')
#4 ..../imap_connector.php(388): saveTicket(Object(Fetch\Message), 0, '450')
#5 {main}

thrown in ...../vendor/paquettg/string-encode/src/stringEncode/Encode.php on line 103

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions