summaryrefslogtreecommitdiff
path: root/support/latexindent/LatexIndent/GetYamlSettings.pm
diff options
context:
space:
mode:
Diffstat (limited to 'support/latexindent/LatexIndent/GetYamlSettings.pm')
-rw-r--r--support/latexindent/LatexIndent/GetYamlSettings.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/support/latexindent/LatexIndent/GetYamlSettings.pm b/support/latexindent/LatexIndent/GetYamlSettings.pm
index 85764353e8..440e2ef20b 100644
--- a/support/latexindent/LatexIndent/GetYamlSettings.pm
+++ b/support/latexindent/LatexIndent/GetYamlSettings.pm
@@ -341,6 +341,9 @@ sub yaml_read_settings {
}
}
+ # diacritics in YAML names (highlighted in https://github.com/cmhughes/latexindent.pl/pull/439)
+ $_ = decode( "utf-8", $_ );
+
# check for existence and non-emptiness
if ( ( -e $_ ) and !( -z $_ ) ) {
$logger->info("Adding $_ to YAML read paths");