GNU bug report logs - #16048
24.3.50; String compare surprise

Previous Next

Package: emacs;

Reported by: michael.albinus <at> gmx.de

Date: Wed, 4 Dec 2013 11:45:03 UTC

Severity: normal

Found in version 24.3.50

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 16048 <at> debbugs.gnu.org, Michael Albinus <michael.albinus <at> gmx.de>
Subject: Re: bug#16048: 24.3.50; String compare surprise
Date: Wed, 04 Dec 2013 14:12:15 -0500
> Beware: byte-to-string returns a unibyte string.  You do NOT want
> unibyte strings in your application code.

IIUC this is dbus code, so it likely handles marshalled data, which
often has to manage bytes rather than chars, so a unibyte string might
be the right thing.


        Stefan "who doesn't actually know what he's talking about"




This bug report was last modified 11 years and 172 days ago.

Previous Next


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