monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] character set.


From: Zack Weinberg
Subject: Re: [Monotone-devel] character set.
Date: Tue, 1 Jul 2008 19:11:03 -0700

On Tue, Jul 1, 2008 at 7:04 PM,  <address@hidden> wrote:
> In the manual, it says,  Monotone's transmission and storage forms are
> otherwise unchanged. Packets and database contents are 7-bit clean
> ASCII.
>
> Now does this apply to file contents?  On my system everything is
> Unicode by default.  Does it get converted to 7-bit ASCII for storage?

The manual is out of date.  Database storage is binary, 8-bit clean,
and if you find a dependence on character set (except in the small
handful of places where we still use human-readable strings in the
database) it's a bug.  Netsync *should* also be like that, but I'm not
deeply familiar with netsync's guts so I don't want to say for
certain.  Packets are indeed 7-bit ASCII, but in all cases where
packets can contain arbitrary data, it's base64 encoded whether it
needs it or not.  Also, there's not much packets are used for anymore
(the main use is the keystore, iirc).

zw




reply via email to

[Prev in Thread] Current Thread [Next in Thread]