9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Kris Maglione <bsdaemon@comcast.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Mac p9p snarf buffer
Date: Fri,  4 May 2007 22:20:55 -0400	[thread overview]
Message-ID: <20070505022055.GC62050@kris.home> (raw)
In-Reply-To: <20070504132902.D2551@mrwint.cisco.com>

[-- Attachment #1: Type: text/plain, Size: 784 bytes --]

On Fri, May 04, 2007 at 01:29:03PM +0100, Derek Fawcus wrote:
>That sounds like a bug in the apple stuff.  AFAICR "STRING" encoding
>means 8 bit latin1 (8859-1) characters.  So unless the apple code is
>complaining about bytes for which there is no 8859-1 character,  I'm
>not sure what's happening.

The behavior is undefined if a STRING is not in the 'Host Portable 
Character Set', but it's not the X server which causes the problem, it's 
the owner of the selection which converts it to a STRING from UTF-8. I'd 
guess that most apps use iconv (ick) for the conversion. Some apps give 
you a '?', some give \xXXXX, \uXXXX, or the like.

Incidentally, snarfer is still broken in this manner.

-- 
Kris Maglione

If at first you don't succeed, try something else.

[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]

  reply	other threads:[~2007-05-05  2:20 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-03 21:20 Russ Cox
2007-05-04  0:00 ` Kris Maglione
2007-05-04 12:21   ` Derek Fawcus
2007-05-04  1:16 ` Scott Schwartz
2007-05-04 12:29 ` Derek Fawcus
2007-05-05  2:20   ` Kris Maglione [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-05-03 16:37 Skip Tavakkolian
2007-05-03 16:45 ` Rob Pike
2007-05-03 17:45   ` David Leimbach
2007-05-03 17:52     ` Rob Pike
2007-05-03 18:09       ` Paul Lalonde
2007-05-03 22:55       ` Kris Maglione
2007-05-04  2:26         ` Russ Cox
2007-05-03 17:03 ` Anthony Sorace
2007-05-03 17:22 ` Russ Cox
2007-05-03 18:02   ` Skip Tavakkolian

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

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

  git send-email \
    --in-reply-to=20070505022055.GC62050@kris.home \
    --to=bsdaemon@comcast.net \
    --cc=9fans@cse.psu.edu \
    /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 NNTP newsgroup(s).