Skip to content

Mbstring class error on convEncoding method #3

Open
@imansa

Description

@imansa

method return type is string and return value of calling iconv method returned directly but iconv method can send false return sometimes and create a Fatal Error

protected static function convEncoding(string $str, string $from, string $to): string

need change

sample data

'1H*Ì*1', 'UTF-8', 'UTF-32'

Metadata

Metadata

Assignees

No one assigned

    Labels

    need more infoNeed more information to address it

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions