GNU bug report logs - #40845
SVG rendering issues

Previous Next

Package: emacs;

Reported by: Clément Pit-Claudel <cpitclaudel <at> gmail.com>

Date: Sat, 25 Apr 2020 12:20:01 UTC

Severity: normal

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


Message #83 received at 40845 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alan Third <alan <at> idiocy.org>
Cc: cpitclaudel <at> gmail.com, 40845 <at> debbugs.gnu.org, pipcet <at> gmail.com
Subject: Re: bug#40845: SVG rendering issues
Date: Sun, 03 May 2020 19:07:56 +0300
> Date: Sun, 3 May 2020 15:13:48 +0100
> From: Alan Third <alan <at> idiocy.org>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 40845 <at> debbugs.gnu.org, pipcet <at> gmail.com
> 
> I’ve run into a problem with the base64 encoding.
> 
> /usr/bin/base64 encodes this file differently from Emacs:
> 
>     https://upload.wikimedia.org/wikipedia/commons/9/92/MixedUnitAddition.svg
> 
> librsvg doesn’t like the way Emacs encodes the file, but is fine with
> the system base64.
> 
> I think the problem is the GBP £ symbol on line 39.
> 
> Do I need to do something special, like set up character encodings?

You need to make sure the text passed to base64-encode-region is
unibyte.  I suggest to look at how other packages call that function.

Let me know if this general advice doesn't help.

Thanks.




This bug report was last modified 4 years and 271 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.