Skip to content

Invalid output utf8 chars #74

@romeOz

Description

@romeOz

Hi, Cebe. May all the same you will add the flag u, as shown PHP Regex: How to match \r and \n without using [\r\n].

Namely:

$text = preg_replace('~\R~u', "\n", $text);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions