Replace FileUtils.write(File, CharSequence, boolean) with FileUtils.write(File, CharSequence, StandardCharsets.UTF_8, boolean)

MSAL

Replace deprecated FileUtils.write(File, CharSequence, boolean) with FileUtils.write(File, CharSequence, StandardCharsets.UTF_8, boolean).

org.openrewrite.apache.commons.io.ApacheCommonsFileUtilsRecipes$WriteAppendWithCharsetRecipe
mod run . --recipe='org.openrewrite.apache.commons.io.ApacheCommonsFileUtilsRecipes$WriteAppendWithCharsetRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.