On Mon, Jan 20, 2020 at 10:06 PM Han-Wen Nienhuys <[email protected]> wrote:
> >> Furthermore in Salzburg we said to try "latin 1"- encoding everywhere >> (for newer guile-versions). >> I'd need some assistance about the how-to, then I could test it as well. >> >> > I expect that actually nothing has to be done. I would assume that the C > APIs we use are backward compatible. We should just avoid calling any > functions that interpret a string as UTF-8 encoded Unicode. > > that was too optimistic. I David's list is a good start, and you could replace the calls with the latin1 equivalents, scm_from_utf8_string -> scm_from_latin1_string maybe it makes sense to introduce a ly_string_from_cppstring > ly_symbol_from_cppstring so we can document this hack in one place centrally. -- > Han-Wen Nienhuys - [email protected] - http://www.xs4all.nl/~hanwen > -- Han-Wen Nienhuys - [email protected] - http://www.xs4all.nl/~hanwen
