|
From: Michael N. <mik...@gm...> - 2010-06-16 16:49:49
|
Nice work! I hate being wrong, let alone twice in one day!
So, a lot of strings that use Latin-1 or other ASCII extensions will show up
as invalid UTF-8 strings.
So the proposed changes are:
1. Changing ASCII to UTF-8 in Par3
Any string that is not valid UTF-8 must be reported as an error to
the user. Clients may try to recover from the error, but the specification
does not suggest how.
2. Removing the optional 16-bit Unicode packets in Par3. (Essentially
deprecating them.)
The spec should probably include a list of common operating systems
(Windows, OS X, Linux, AT&T Unix, BSD Unix) with recommended libraries for
supporting Unicode and, if required, recommended methods for translating
Unicode strings to unique local filenames.
Any objections to the proposed changes?
Mike
On Wed, Jun 16, 2010 at 11:55 AM, Jesus Cea <jc...@jc...> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 16/06/10 17:51, Michael Nahas wrote:
> > I have argued against changing the spec from ASCII to UTF-8 because I
> > believed the two to be incompatible. You've now corrected me and shown
> > that they are compatible. And I'll gladly accept a change from ASCII to
> > UTF-8 if we don't see that people made the same mistaken assumption that
> > I did OR if they make incompatible mistaken assumptions (e.g., some
> > clients support Latin-1, while some support Windows-1252 or UTF-8).
>
> "autodetecting" utf-8 is pretty safe:
>
> > <http://en.wikipedia.org/wiki/Utf-8#Advantages> )
>
> Anyway I would put in PAR3 standard that the filenames MUST be UTF-8. It
> is the client responsability to translate to/from the local filesystem
> charset.
>
> - --
> Jesus Cea Avion _/_/ _/_/_/ _/_/_/
> jc...@jc... - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/
> jabber / xmpp:jc...@ja... <xmpp%3A...@ja...> _/_/
> _/_/ _/_/_/_/_/
> . _/_/ _/_/ _/_/ _/_/ _/_/
> "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/
> "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/
> "El amor es poner tu felicidad en la felicidad de otro" - Leibniz
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQCVAwUBTBjz8plgi5GaxT1NAQKUiwP9HPdnzTNsxQt70mWErgXUDVcmVEG5yj/j
> q81wc4E1vE9lrodYQBDsTgIX2nFqWuPD7hdB6UxKyjC+GIAB6gJeBuTA7iWIT5xn
> i+xphqRZPW6Te9yNv2ei2R6svLQqFantHqag/6JHVf4keVTB0/IzmgmPl1yx/l5Z
> bNI2hkr5z1Y=
> =z84P
> -----END PGP SIGNATURE-----
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit. See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Parchive-devel mailing list
> Par...@li...
> https://lists.sourceforge.net/lists/listinfo/parchive-devel
>
|