Skip to content

Unicode sequence replaced by unicode character #42

@fmatosqg

Description

@fmatosqg

Overview

In files that are modified by this plugin, some lines are undesirably changed as well.

In my project, the following string
<string name="more_app_version" tools:ignore="PluralsCandidate">&#169; %1$d xxxxxx v%2$s%3$s</string>

was replaced (not removed) by the following string

<string name="more_app_version" tools:ignore="PluralsCandidate">© %1$d xxxxxx v%2$s%3$s</string>

Description

To reproduce:

Create a strings.xml file that

  • contains at least 1 unused resource and
  • at least 1 string resource that is still used and contains a unicode sequence.

Verify behavior

  • expected: remove unused resource
  • actual behavior: unused resource is removed AND used resource is modified

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