lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Source_file: remove mbrtowc() in favor of utf8_char_len()


From: Patrick McCarty
Subject: Re: [PATCH] Source_file: remove mbrtowc() in favor of utf8_char_len()
Date: Wed, 11 Nov 2009 19:04:56 -0800
User-agent: Mutt/1.5.20 (2009-06-14)

On 2009-11-10, Patrick McCarty wrote:
> I have uploaded a patch series to Rietveld for review:
> 
>   http://codereview.appspot.com/154046/show
> 
> This addresses the following report:
> 
>   http://lists.gnu.org/archive/html/bug-lilypond/2009-10/msg00001.html
> 
> and keeps compatibility with the initial fix I made for this report:
> 
>   http://lists.gnu.org/archive/html/bug-lilypond/2009-10/msg00049.html

Additionally, I should mention that this patch assumes that the UTF-8
character sequences in a source file are *valid*, i.e. well-formed.
Invalid UTF-8 sequences are caught when text is processed by Pango, so
IMO there is no need for additional checks here.

Thanks,
Patrick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]