Skip to content

Commit

Permalink
lilypond-unstable: use Unicode replacement character
Browse files Browse the repository at this point in the history
  • Loading branch information
nwhetsell committed Jun 14, 2023
1 parent 2f7de84 commit ac1f76e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/lilypond-unstable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def install
assert_predicate testpath/"test.pdf", :exist?

output = shell_output("#{bin}/lilypond --define-default=show-available-fonts 2>&1")
output = output.encode("UTF-8", invalid: :replace, replace: "")
output = output.encode("UTF-8", invalid: :replace, replace: "\ufffd")
common_styles = ["Regular", "Bold", "Italic", "Bold Italic"]
{
"C059" => ["Roman", *common_styles[1..]],
Expand Down

0 comments on commit ac1f76e

Please sign in to comment.