Skip to content

Switch of UTF-8 Flag Before Using Encode::from_to() #12

@gflohr

Description

@gflohr

The method Locale::RecodeData::Encode::_recode() calls Encode::from_to() which requires its first argument to have the utf-8 flag switched off. Historically that was possible by the bytes pragma but that no longer works. Instead, switch the flag off explicitely.

Otherwise, the method throws an exception "Wide character /include/path/Locale/RecodeData/_Encode line 46".

Also check for other occurences of the bytes pragma which is now deprecated.

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