]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/engraver.cc
Issue 4325: Replace most uses of scm_{from,to}_locale_* with fixed encodings
[lilypond.git] / lily / engraver.cc
index e2fbe860c092a44cf2e2b0f40a9174c4c2027711..959a7784546ffda9d51fc24f022b6607f647a4e6 100644 (file)
@@ -138,8 +138,8 @@ Engraver::internal_make_grob (SCM symbol,
 #ifndef NDEBUG
   if (ly_is_procedure (creation_callback))
     scm_apply_0 (creation_callback,
-                 scm_list_n (grob->self_scm (), scm_from_locale_string (file),
-                             scm_from_int (line), scm_from_locale_string (fun), SCM_UNDEFINED));
+                 scm_list_n (grob->self_scm (), scm_from_utf8_string (file),
+                             scm_from_int (line), scm_from_ascii_string (fun), SCM_UNDEFINED));
 #endif
 
   return grob;