Skip to content

Wrong charset breaks parsing #137

Closed
Closed
@raxbg

Description

@raxbg

I know there are some other issues related to charsets already, but I had an issue where the parser was simply not able to get past a comment block containing multi byte characters. I did not know the correct charset, but that was another issue.

Do you think that something like this will work in all cases raxbg@33b4306 ? It worked in my case and performance is also much better than using mb_substr(). Actually performance does not seem to be affected by this change.

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