From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.devel Subject: Re: Using libunistring for string comparisons et al Date: Sat, 19 Mar 2011 12:37:42 -0400 Message-ID: <87vczfgj6x.fsf@netris.org> References: <336042.33326.qm@web37901.mail.mud.yahoo.com> <878vwgmhah.fsf@netris.org> <511668.33680.qm@web37902.mail.mud.yahoo.com> <87sjuokniq.fsf@netris.org> <118142.11911.qm@web37907.mail.mud.yahoo.com> <87ipvjlvgj.fsf@netris.org> <87lj0bi4qs.fsf@netris.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1300552696 25397 80.91.229.12 (19 Mar 2011 16:38:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Mar 2011 16:38:16 +0000 (UTC) Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , guile-devel@gnu.org To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Mar 19 17:38:12 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q0zAJ-000529-Q4 for guile-devel@m.gmane.org; Sat, 19 Mar 2011 17:38:11 +0100 Original-Received: from localhost ([127.0.0.1]:59435 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0zAJ-0002Dd-Cp for guile-devel@m.gmane.org; Sat, 19 Mar 2011 12:38:11 -0400 Original-Received: from [140.186.70.92] (port=48695 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0zAH-0002DY-5u for guile-devel@gnu.org; Sat, 19 Mar 2011 12:38:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0zAG-0001dw-3O for guile-devel@gnu.org; Sat, 19 Mar 2011 12:38:09 -0400 Original-Received: from world.peace.net ([96.39.62.75]:47139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0zAE-0001da-Gj; Sat, 19 Mar 2011 12:38:06 -0400 Original-Received: from 209-6-93-251.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.93.251] helo=freedomincluded) by world.peace.net with esmtpa (Exim 4.69) (envelope-from ) id 1Q0zA7-00048Z-E3; Sat, 19 Mar 2011 12:37:59 -0400 Original-Received: from mhw by freedomincluded with local (Exim 4.69) (envelope-from ) id 1Q0z9q-0004P2-PS; Sat, 19 Mar 2011 12:37:42 -0400 In-Reply-To: <87lj0bi4qs.fsf@netris.org> (Mark H. Weaver's message of "Sat, 19 Mar 2011 10:06:51 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 96.39.62.75 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:11920 Archived-At: Andy Wingo writes: > I am quite sensitive to the "justice" argument -- that we not restrict > the names our users give to Scheme identifiers, or the characters they > use in their strings. But these values typically come from literals in > C source code, which has no portable superset of ASCII. I should also mention that the only thing needed from a C compiler in order to accept UTF-8 string constants is to treat 0x80-0xFF like any other non-special characters. In other words, it takes _no_ effort on their part to support this. In fact, it requires effort for them to prevent it, by explicitly checking for 0x80-0xFF and reporting an error in that case. Mark