unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Kevin Ryde <user42@zip.com.au>
Subject: Re: Unicode and Guile
Date: Mon, 03 Nov 2003 07:23:00 +1000	[thread overview]
Message-ID: <87znfeo47f.fsf@zip.com.au> (raw)
In-Reply-To: 20031021171534.GA13246@lark

Andy Wingo <wingo@pobox.com> writes:
>
> This has the advantage that ASCII characters up to 127 are
> represented the same. Of course, above that characters might take up to
> eight bytes, which means that all code that processes user-input strings
> has to be changed.

There'll be a compatibility question for SCM_STRING_CHARS I think.
Application C code may be using that expecting to see chars as 8 bits,
not some encoded form.

Not sure quite how bad this will be though.  If people use strings to
hold raw 8-bit data from a socket or something then it's no doubt
pretty important to make sure they pass straight through, somehow.

There might be another question for SCM_CHAR.  It's got 24 bits (if
I'm not mistaken), if that's not enough then changing the relevant
macros will break binary compatibility.  (Not a terribly big deal, but
a bit annoying.)


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


  parent reply	other threads:[~2003-11-02 21:23 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-21 17:15 Unicode and Guile Andy Wingo
2003-10-25 17:08 ` Stephen Compall
2003-10-26  0:03   ` Tom Lord
2003-10-26 12:34     ` Which Encoding? (was Re: Unicode and Guile) Stephen Compall
2003-10-31 13:25     ` Unicode and Guile Andy Wingo
2003-11-03 13:35       ` text buffers (was Re: Unicode and Guile) Stephen Compall
2003-11-03 20:34         ` Tom Lord
2003-11-04 10:04           ` Stephen Compall
2003-11-03 20:31       ` Unicode and Guile Tom Lord
2003-11-06 18:16         ` Andy Wingo
2003-11-11 19:02           ` Tom Lord
2003-11-12  0:29             ` Marius Vollmer
2003-11-12  1:40               ` Tom Lord
2003-11-12  2:30                 ` Marius Vollmer
2003-11-12  4:03                   ` Tom Lord
2003-11-12 16:59                     ` Marius Vollmer
2003-11-17 16:17             ` Andy Wingo
2003-11-12  0:06           ` Marius Vollmer
2003-11-12  1:27             ` Tom Lord
2003-10-31 13:16   ` Andy Wingo
2003-11-02 21:23 ` Kevin Ryde [this message]
2003-11-26 20:35 ` Mikael Djurfeldt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87znfeo47f.fsf@zip.com.au \
    --to=user42@zip.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).