[tahoe-dev] Fwd: [Python-Dev] PEP 383 and GUI libraries
Shawn Willden
shawn-tahoe at willden.org
Sun May 3 07:49:54 PDT 2009
On Saturday 02 May 2009 08:01:45 pm Zooko O'Whielacronx wrote:
> The best thing to do for Tahoe is likely to define valid UTF-8 as the
> encoding for all Tahoe file names and to raise an error when people
> try to stick anything else in there.
The problem with this argument is that it pre-supposes that the user has some
idea what to do with the error.
I suppose one way to handle it in interactive mode is try try all available
decoders and show the user a list of the results from all that succeeded,
then let them pick the one that looks right, assuming they know, and assuming
the current font has the glyphs required to display the correct decoding.
Shawn.
More information about the tahoe-dev
mailing list