To unicode or not to unicode

Carl Banks pavlovevidence at
Sat Feb 21 17:24:55 EST 2009

On Feb 19, 6:57 pm, Ron Garret <rNOSPA... at> wrote:
> I'm writing a little wiki that I call µWiki.  That's a lowercase Greek
> mu at the beginning (it's pronounced micro-wiki).  It's working, except
> that I can't actually enter the name of the wiki into the wiki itself
> because the default unicode encoding on my Python installation is
> "ascii".  So I'm trying to decide on a course of action.  There seem to
> be three possibilities:
> 1.  Change the code to properly support unicode.  Preliminary
> investigations indicate that this is going to be a colossal pain in the
> ass.
> 2.  Change the default encoding on my Python installation to be latin-1
> or UTF8.  The disadvantage to this is that no one else will be able to
> run my code without making the same change to their installation, since
> you can't change default encodings once Python has started.
> 3.  Punt and spell it 'uwiki' instead.
> I'm feeling indecisive so I thought I'd ask other people's opinion.  
> What should I do?
> rg

More information about the Python-list mailing list