Skip to content

bug: Use of iconv() causing server 503! #221

@jezmck

Description

@jezmck

This line in Encoder::append8BitBytes() appears to cause some error which results in a 503 from the server.

$bytes = @iconv('utf-8', $encoding, $content);

replacing it with

$bytes = mb_convert_encoding($content, $encoding, 'UTF-8');

fixes the issue for me.

I see now that this relates to PR #178 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions