From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Panicz Maciej Godek Newsgroups: gmane.lisp.guile.user Subject: Re: guile+iconv fails on windows Date: Sun, 10 Nov 2013 23:09:08 +0100 Message-ID: References: <837gcg534b.fsf@gnu.org> <8338n441qe.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf307f38f84b6edd04ead9dd10 X-Trace: ger.gmane.org 1384121355 13696 80.91.229.3 (10 Nov 2013 22:09:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Nov 2013 22:09:15 +0000 (UTC) Cc: "guile-user@gnu.org" To: Eli Zaretskii Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Nov 10 23:09:20 2013 Return-path: Envelope-to: guile-user@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 1VfdC2-0006sC-LR for guile-user@m.gmane.org; Sun, 10 Nov 2013 23:09:18 +0100 Original-Received: from localhost ([::1]:33885 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfdC2-0005U5-6H for guile-user@m.gmane.org; Sun, 10 Nov 2013 17:09:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfdBt-0005Rd-S3 for guile-user@gnu.org; Sun, 10 Nov 2013 17:09:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VfdBs-0002vA-Rz for guile-user@gnu.org; Sun, 10 Nov 2013 17:09:09 -0500 Original-Received: from mail-ve0-x22a.google.com ([2607:f8b0:400c:c01::22a]:61026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfdBs-0002v6-N7; Sun, 10 Nov 2013 17:09:08 -0500 Original-Received: by mail-ve0-f170.google.com with SMTP id oy12so2910541veb.29 for ; Sun, 10 Nov 2013 14:09:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=htuRTRbh2JvzO/Cu/uUPSvI9FNmOuzgPifpGmJb3NNI=; b=FMXLeqwRRkTqWV2jmWzXUwxDKdAzE1xI5qUubLxqVZKvhfOmZ8veNf3YcWGHC2Av0q MJac60CNiTn/nJuO1fcZdZBmCCfaAzdShvSLohhoYe/VgE+AXsLMO/3LVAF7/2hqw1Ln Xh+HcLZWLLQdbY9beQv7jAld8QYmaChccVdq5z/e+Z9C2RekRAlN37zrtAh4qoKK2lml PRfsn7pYC+EWAkcUM84J8iSMlKeIC9TwSnOjxqh8bd3cYmOAo0VSecw17v1iAHcyP7e+ xUGe8ihWanQoKaKyqoc/Y8vnJfAEqxgbGCgiX/hoOY1tG0aHDG6ljaiSiwXDQgXEQc0/ ULOQ== X-Received: by 10.52.97.138 with SMTP id ea10mr427612vdb.31.1384121348352; Sun, 10 Nov 2013 14:09:08 -0800 (PST) Original-Received: by 10.220.113.142 with HTTP; Sun, 10 Nov 2013 14:09:08 -0800 (PST) In-Reply-To: <8338n441qe.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c01::22a X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 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-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10881 Archived-At: --20cf307f38f84b6edd04ead9dd10 Content-Type: text/plain; charset=ISO-8859-1 2013/11/10 Eli Zaretskii > > Date: Sun, 10 Nov 2013 10:16:51 +0100 > > From: Panicz Maciej Godek > > Cc: "guile-user@gnu.org" > > > > The dependency walker shows that libiconv depends only on dlls supplied > > by Windows (kernel32.dll, msvcrt.dll and ntdll.dll). The dependency on > > libgcc appears only in libguile, but it seems to have nothing to do with > > iconv. Rebuilding libiconv didn't change anything > > Then I guess you will have to run that compilation under GDB and see > why it thinks utf8 is invalid encoding. (Is it really "utf8" or > "utf-8" or maybe "UTF-8"?) > Well, I think that is the reason of the problem -- that for some reason Windows reports "utf8" encoding, while iconv requires it to be "UTF-8". If I only knew where exactly is the encoding set to "utf8", I could try to fix that. (I think that the problem appears only with applications compiled with -mwindows flag). However, it turned out that this problem is only superficial -- it appears when Guile is trying to print backtrace caused by other problems resulting from the differences in the execution environment (lack of certan libraries, mostly). Although it would be helpful to have more feedback from the interpreter, I think that I should manage to provide all the necessary fixes without it. --20cf307f38f84b6edd04ead9dd10 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
2013/11/10 Eli Zaretskii <eliz@gnu.org>
--20cf307f38f84b6edd04ead9dd10--