On Thu, Apr 19, 2001 at 11:01:06PM -0400, John Weiss wrote:
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> Precedence: bulk
> X-No-Archive: yes
> List-Post: <mailto:[EMAIL PROTECTED]>
> List-Help: <mailto:[EMAIL PROTECTED]>
> List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
> Delivered-To: mailing list [EMAIL PROTECTED]
> Date: Thu, 19 Apr 2001 23:01:06 -0400
> From: John Weiss <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Unicode (was Re: enormous)
> Mail-Followup-To: John Weiss <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> User-Agent: Mutt/1.2.5i
> In-Reply-To: <[EMAIL PROTECTED]>; from 
>[EMAIL PROTECTED] on Wed, Apr 18, 2001 at 04:19:38PM +0200
> 
> On Wed, Apr 18, 2001 at 04:19:38PM +0200, Lars Gullik Bj?nnes wrote:
> > 
> > John Levon <[EMAIL PROTECTED]> writes:
> > 
> > | I thought the point of UTF-8 was that ASCII could be stored in 7-bit
> > | values ?
> > 
> > yes, but we do not really want to use utf-8 internally.
> 
> Hmm... although it would save memory for those of us working primarily
> with langauges that only use Latin-1 ASCII, it does make rendering
> trickier.  You'd basically have to convert from utf-8 to full Unicode
> on-the-fly, as you displayed.

How expensive is this really? The correspondence between the two looks
like real simple math, like a ten-liner, where US-ASCII would branch off
at the first, and latin1 at the second branch. Would it take a 
non-negligible time compared to physically rendering the character in X? 
 
> So, it seems that we're stuck with char (you're using a single
> language, one that only needs Latin-1 ASCII) or wchar_t.  Any way to
> select one type or the other at run time?  ;)  Didn't think so...
> 
> Now, when it comes to *file* *format*, we could certainly support
> utf-8 (as well as utf-16 or full UC3).
> 
> -- 
> John Weiss
> 
> "Not through coercion.  Not by force.  But by compassion.  By
> affection.  And, a small fish."  -His Holiness, the 14th Dalai Lama 
 
Martin
-- 
Martin Vermeer  [EMAIL PROTECTED]
Helsinki University of Technology 
Department of Surveying
P.O. Box 1200, FIN-02015 HUT, Finland
:wq

Reply via email to