On Wed, Apr 03, 2019 at 08:53:35PM +0100, Ken Moffat via blfs-dev wrote:
> On Sun, Mar 31, 2019 at 11:34:21PM +0100, Ken Moffat via blfs-dev wrote:
> > On Sat, Mar 30, 2019 at 07:23:37PM -0500, Bruce Dubbs via blfs-dev wrote:
> > > On 3/30/19 6:59 PM, Ken Moffat via blfs-dev wrote:
> > > 
> 
> After finishing my read of the diff (lots of weird and wonderful
> things tucked away in it, but mostly not relevant to building FF for
> BLFS) I came back to this, and I think I've solved it.
> 
> Recall that 'file' thinks the diff is 'data'.  The first
> non-rendered unicode that I noticed was in a diff starting at line
> 164552, and the diff also contains changes to graphics files which
> clearly do not render.  I think several of those are fairly early
> on, but immediately before this batch of UTF-8 (localized messages
> relating to screenshots) is the removal of a png file (i.e.
> no-longer present).
> 
> If I copy only those locale messages (a bit over 3600 lines), vim
> renders almost all of them, and those it doesn't have 'empty box'
> characters for missing glyphs.
> 
> The missing language codes are bn_BD (Bengali, Bangladesh), gu_IN
> (Gujarati, India), my (Burmese), te (Telugu). Also, for fa (farsi)
> vim displays <200c> in several places - that is a zero-width
> non-joiner.  I am using monospaced fonts in urxvt, so the omission
> of those glyphs is not a surprise.
> 
> Summary: vim treats the full diff as data because some of it _is_
> data, and I guess that telling it to display data as if it were
> UTF-8 is discarded as soon as some invalid unicode appears.
> 
I just took a diff between ff67 beta18 and beta19 : a lot of locale
stuff, most (or all) re a change in localization for pocket.  And
again it was often garbled.  Then I remembered that I use 'diff
-Naur' as normal.  If I exclude the binary files (e.g. svg, jpg) the
diff is a bit shorter and the translations, at least those for which
I have fonts (arabic, armenian, cyrillic, georgian, hebrew and latin
alphabets, chinese, japanese, korean, and some of the indic glyphs)
render.

I'll just have to remember to use 'diff -Nur' in future.

ĸen
-- 
Before the universe began, there was a sound. It went: "One, two, ONE,
two, three, four" [...] The cataclysmic power chord that followed was
the creation of time and space and matter and it does Not Fade Away.
 - wiki.lspace.org/mediawiki/Music_With_Rocks_In


-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to