Re: [NTLK] Newton Book file sizes

From: Paul Guyot (pguyot_at_kallisys.net)
Date: Fri Apr 19 2002 - 11:28:19 EDT


Date: Fri, 19 Apr 2002 17:04:25 +0200
From: Enzo Borri <enzo_at_borri.org>

>If you open the PKG of your book using a Text Editor such as BBEdit,
>you'll see an extra char after each every char. This is the reason of the
>file size.

Exactly. This is called Unicode UCS-2.

>As soon as the book is sent to the Newton, the extra chars are
>removed and your file size become half the size of the PKG when on your
>hard drive.

Well, not exactly. The package is compressed on the Newton. However,
it seems that even if compression can reach 50% for text, it is not
simply skipping every other byte. The text is still encoded in UCS-2,
fortunately for every Newton user who doesn't think in 7 or 8 bits :)

Paul

-- 
Home page: http://www.kallisys.com/
Newton-powered WebServer: http://newton.kallisys.net:8080/

-- Read the List FAQ/Etiquette: http://www.newtontalk.net/faq.html Read the Newton FAQ: http://www.guns-media.com/mirrors/newton/faq/ This is the NewtonTalk mailing list - http://www.newtontalk.net



This archive was generated by hypermail 2.1.2 : Sun May 05 2002 - 14:04:28 EDT