Skip to content

Support for diffing unicode characters #14

Open
@nullzero

Description

@nullzero

Hello! I found that this code cannot be used to diff between unicode characters. When trying to do that, the highlighted lines became blank. This issue can be fixed easily - Just use multibyte string function[1] instead of string function. Also, replace string indexing to mb_substr($str, $i, 1).

Cheers

Links
[1] - http://php.net/manual/en/ref.mbstring.php

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