From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Linas Vepstas Newsgroups: gmane.lisp.guile.user Subject: Re: guile can't find a chinese named file Date: Thu, 26 Jan 2017 15:59:42 -0600 Message-ID: References: Reply-To: linasvepstas@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1485468054 24197 195.159.176.226 (26 Jan 2017 22:00:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 26 Jan 2017 22:00:54 +0000 (UTC) Cc: Guile User To: Thomas Morley Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Jan 26 23:00:48 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cWs5m-0004HZ-GL for guile-user@m.gmane.org; Thu, 26 Jan 2017 23:00:30 +0100 Original-Received: from localhost ([::1]:41314 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWs5r-0002nS-Qr for guile-user@m.gmane.org; Thu, 26 Jan 2017 17:00:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWs5U-0002mn-Cf for guile-user@gnu.org; Thu, 26 Jan 2017 17:00:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWs5L-0000wc-Hc for guile-user@gnu.org; Thu, 26 Jan 2017 17:00:12 -0500 Original-Received: from mail-qt0-x22d.google.com ([2607:f8b0:400d:c0d::22d]:35684) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cWs5L-0000vk-CN for guile-user@gnu.org; Thu, 26 Jan 2017 17:00:03 -0500 Original-Received: by mail-qt0-x22d.google.com with SMTP id x49so99652354qtc.2 for ; Thu, 26 Jan 2017 14:00:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=qq3V0pQlLf9zfRAL+VIOjPDnbHxFrqEnPEkidyNw5Xo=; b=Ug1PkFysbLcFkkmoHlulYWw3HldUrq8Rd/BY8tKiHmHSxf0P1vKisH1WQs7AOjkvVn db2Pz8bt9GM/4WlN13FrjI0aXj/lwES9NAXWD3irpzzch5mskd+NGjg3l9onQYOL5CRm 6Jx2iaLD7GKMSw2fdWEmkcup8QastMiGiIEqqehua2qQJEKVGpmOSLFez6cuBNdaA49u Hndwsr/JzmT4XmjcpI13dqEOylP35Xa9ay9Nynv31+l91cp6JQGJhG8nJL5EYtOj69NF DvONLIund9pXSqoPkmBDcuofglR8tYCUAJlASBKpOw01U46NAZBJHCT5svzyxT4mEh7a Hqcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc:content-transfer-encoding; bh=qq3V0pQlLf9zfRAL+VIOjPDnbHxFrqEnPEkidyNw5Xo=; b=QPx/3gbon91/YMlenMdF7xNwvepMYXXjYIoSzXqwOVTF6oKvXF5zkya3BzTtaOGtQm qDaudlcTrwDe3ik8wdoDPGNmJFIQQwzHtIztZ4LfQJQvl6D4kekGIRc5fuG++kkpg6Lx su5GQ+PXbGKlQvts/pIfP/I708mSqBLgtZPE6KYrRU7SrPQjp6zVrYctD+pKWXWoFxCR 7VLXow3AexOteiWbQK3oFBVyFMGXicx3xcrOm/f+64Y2Rtk5DBt1azYzgxK4YCmHaSkd oNhqv4w5pwfFaV1mFH+8RB6XOkWV1qeMm06mzgmiqTz9bQu7C+qXqXlBcZO6GYTiRedt WWnQ== X-Gm-Message-State: AIkVDXLYMUkzYh9Iz+23O2L1PEuMd5ecIEkbJ9A270eOLsao9LCIJDUGHHo/oNuzoR5t5Yj8KDwV3d48jVm3jA== X-Received: by 10.55.89.196 with SMTP id n187mr5124984qkb.17.1485468002680; Thu, 26 Jan 2017 14:00:02 -0800 (PST) Original-Received: by 10.12.174.231 with HTTP; Thu, 26 Jan 2017 13:59:42 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c0d::22d X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:13131 Archived-At: It's a bug. There have been bugs on and off with guile utf8 handling. One of the guile-2.0 versions does almost everything right, but utf8 is semi-broken, again in 2.2 -- some things work, but various things that used to work great are now broken (again). I'm guessing that guile has a weak/non-existent unit-test suite for utf8. Open bug reports. I could even (maybe) volunteer to fix some of them, cause I know where they are, and why they are, but would need encouragement/help from one of the core guile devs to create acceptable patches. (I'm doing Chinese text processing in guile, right now, so each of these bugs is painful to hit, and requires yet another work-around in my code.) --linas On Mon, Nov 28, 2016 at 2:54 AM, Thomas Morley w= rote: > 2016-11-27 13:16 GMT+01:00 Chaos Eternal : >> Seems that UTF-8 encoded string has been converted to unicode before cal= ling >> `open', >> but on filesystem the filename is utf8 string > > Your analysis is surely correct, but what to do? > I expected > guile filename_=E5=90=8D=E5=AD=97.scm > to work out of the box. > > Am I missing something? > Or is it a bug, worth reporting? > > Cheers, > Harm >