From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#15260: cannot build in a directory with non-ascii characters Date: Wed, 30 Oct 2013 20:19:56 +0200 Message-ID: <838uxaei43.fsf@gnu.org> References: <83y55ih6g3.fsf@gnu.org> <81ppqums9o.fsf@fencepost.gnu.org> <83hac5h1ha.fsf@gnu.org> <83bo2dgq36.fsf@gnu.org> <837gd1gpcz.fsf@gnu.org> <8361slgnhk.fsf@gnu.org> <83zjpwfp3l.fsf@gnu.org> <83mwlug0cd.fsf@gnu.org> <83bo2af4hh.fsf@gnu.org> <8361shfil7.fsf@gnu.org> <834n81fdp8.fsf@gnu.org> <83zjpseo1g.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1383157278 15774 80.91.229.3 (30 Oct 2013 18:21:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Oct 2013 18:21:18 +0000 (UTC) Cc: 15260@debbugs.gnu.org To: Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 30 19:21:21 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VbaON-0003Fo-SS for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Oct 2013 19:21:19 +0100 Original-Received: from localhost ([::1]:53823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbaON-0002mS-DL for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Oct 2013 14:21:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbaOD-0002lF-OE for bug-gnu-emacs@gnu.org; Wed, 30 Oct 2013 14:21:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbaO6-0002wf-DE for bug-gnu-emacs@gnu.org; Wed, 30 Oct 2013 14:21:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbaO6-0002wb-9g for bug-gnu-emacs@gnu.org; Wed, 30 Oct 2013 14:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VbaO5-0000EH-Lz for bug-gnu-emacs@gnu.org; Wed, 30 Oct 2013 14:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Oct 2013 18:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15260 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15260-submit@debbugs.gnu.org id=B15260.1383157211813 (code B ref 15260); Wed, 30 Oct 2013 18:21:01 +0000 Original-Received: (at 15260) by debbugs.gnu.org; 30 Oct 2013 18:20:11 +0000 Original-Received: from localhost ([127.0.0.1]:53216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbaNG-0000D3-Jg for submit@debbugs.gnu.org; Wed, 30 Oct 2013 14:20:10 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:44113) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbaNE-0000Cc-1K for 15260@debbugs.gnu.org; Wed, 30 Oct 2013 14:20:09 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MVH00C00USDJX00@a-mtaout20.012.net.il> for 15260@debbugs.gnu.org; Wed, 30 Oct 2013 20:20:01 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MVH00CQ9UXBK000@a-mtaout20.012.net.il>; Wed, 30 Oct 2013 20:19:59 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79789 Archived-At: I bumped into this as part of digging into this bug report: there's a strange inconsistency between make_string and string_to_multibyte (or maybe it's just that the "multibyte" part of the name is overloaded). Specifically, if you pass a unibyte string through string_to_multibyte, it will produce a multibyte string, as expected. But if SDATA of the resulting multibyte string, or any of its derivatives, is passed to make_string, the latter will decide that it must make a unibyte string! This is because parse_str_as_multibyte, called internally by make_string, considers the multibyte representation of 8-bit bytes as a sign that the string produced from these bytes must be unibyte. Why do we have this confusing inconsistency?