develooper Front page | perl.perl5.porters | Postings from February 2001

Re: The State of The Unicode

From:
Jarkko Hietaniemi
Date:
February 19, 2001 17:41
Subject:
Re: The State of The Unicode
Message ID:
20010219194126.J20429@chaos.wustl.edu
On Mon, Feb 19, 2001 at 08:33:37PM -0500, Andrew Pimlott wrote:
> On Mon, Feb 19, 2001 at 07:14:07PM -0600, Jarkko Hietaniemi wrote:
> > Protocols: if all I know is that my output is 500 Unicode characters
> > long, how am I to print out Content-Length?
> 
> As I said to abigail, I would love a concrete explanation of what
> you have in mind.  In particular, what is your mechanism for
> ensuring that perl is representing $output as utf8?

Ahhh.  True, got me there.  I can't ensure that.

> > If I have a scalar which according to length() is 10E7 Unicode characters,
> > will it fit within my disk quota of which I have 20E7 bytes left?
> 
> Again, it depends on the output discipline you will use to get it on
> disk, and thus should be part of whatever library you use for output
> disciplines.  Why do you think it should be otherwise?

"library"?  "output disciplines"?  syswrite().

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About