[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Renaming `ly:wide-char->utf-8`
From: |
Jean Abou Samra |
Subject: |
Re: Renaming `ly:wide-char->utf-8` |
Date: |
Thu, 10 Feb 2022 10:45:59 +0100 (CET) |
> Le 10/02/2022 08:59, Werner LEMBERG <wl@gnu.org> a écrit :
>
>
> > [...] we will be able to spell (ly:wide-char->utf-8 1234) as either
> > (integer->char 1234) or (for literals which is the majority of
> > cases) #\x4d2 (where 4d2 is the hex representation for the number
> > that has the decimal representation 1234).
> In other words, the function will become obsolete, right?
Right. We only need ly:wide-char->utf-8 because we
try to support both Guile 1 and Guile 2.
> Will it be easy to provide a rule for `convert-ly`?
Yes, just s/ly:wide-char->utf-8/integer->char/g since
integer->char in Guile 2 works with Unicode.
> Then the renaming is indeed not important.
Yes.