From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.bugs Subject: bug#35920: strftime incorrectly assumes that nstrftime will produce UTF-8 Date: Sun, 30 Jun 2019 19:06:28 -0400 Message-ID: <877e92k70r.fsf@netris.org> References: <877ebt7tc0.fsf@netris.org> <87tvew4efa.fsf@netris.org> <875zrb3ydk.fsf@netris.org> <871s1z3tbq.fsf@netris.org> <87v9xxq767.fsf_-_@netris.org> <87muj9q6nk.fsf@netris.org> <87imtwrint.fsf@netris.org> <874l46svg1.fsf@gnu.org> <87blyekcaa.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="144778"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: 35920@debbugs.gnu.org, Christopher Lam , Ludovic =?UTF-8?Q?Court=C3=A8s?= To: John Cowan Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Jul 01 01:07:10 2019 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hhiua-000bXR-TB for guile-bugs@m.gmane.org; Mon, 01 Jul 2019 01:07:09 +0200 Original-Received: from localhost ([::1]:46898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhiuZ-0003Wp-K4 for guile-bugs@m.gmane.org; Sun, 30 Jun 2019 19:07:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32807) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhiuV-0003Wi-N8 for bug-guile@gnu.org; Sun, 30 Jun 2019 19:07:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hhiuU-0001Bn-QH for bug-guile@gnu.org; Sun, 30 Jun 2019 19:07:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33933) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hhiuU-0001BZ-Me for bug-guile@gnu.org; Sun, 30 Jun 2019 19:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hhiuU-0005EC-FH for bug-guile@gnu.org; Sun, 30 Jun 2019 19:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 30 Jun 2019 23:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35920 X-GNU-PR-Package: guile Original-Received: via spool by 35920-submit@debbugs.gnu.org id=B35920.156193601320081 (code B ref 35920); Sun, 30 Jun 2019 23:07:02 +0000 Original-Received: (at 35920) by debbugs.gnu.org; 30 Jun 2019 23:06:53 +0000 Original-Received: from localhost ([127.0.0.1]:47477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hhiuL-0005Dp-29 for submit@debbugs.gnu.org; Sun, 30 Jun 2019 19:06:53 -0400 Original-Received: from world.peace.net ([64.112.178.59]:55486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hhiuJ-0005DW-8r for 35920@debbugs.gnu.org; Sun, 30 Jun 2019 19:06:52 -0400 Original-Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hhiuC-0001eq-Rd; Sun, 30 Jun 2019 19:06:44 -0400 In-Reply-To: (John Cowan's message of "Sun, 30 Jun 2019 18:37:26 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:9383 Archived-At: Hi John, John Cowan writes: > That's a mug's game: I've been there and tried it (not in Scheme). I > recommend writing a strftime in Scheme from scratch. It's not that > hard; the most annoying thing is getting into the locale files to > handle the locale-sensitive directives (month name, weekday name, > AM/PM, and the ordering of dates). Is there a portable way to find the relevant locale files and interpret them, on both POSIX and Windows systems? If so, can you point out the relevant documentation? Thanks, Mark