konifar / gradle-unused-resources-remover-plugin

Gradle Plugin that removes unused resources in Android projects.
https://plugins.gradle.org/plugin/com.github.konifar.gradle.unused-resources-remover
Apache License 2.0
371 stars 28 forks source link

Unicode sequence replaced by unicode character #42

Open fmatosqg opened 2 years ago

fmatosqg commented 2 years ago

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

Verify behavior

king-ma1993 commented 2 years ago

the android studio provider remove unused res button,why didn't use it?