{
simplejson is a JSON library for Python 2.3+, courtesy of here. A while back I goofed off with IronPython and Prototype writing a web based "shell" inerface. I may have to return to that project although my problem wasn't really with encoding, it was with keeping context while using multiple commands (like cd .. and then dir with the new directory as your location) in a session with cmd.exe. I've been meaning to write the PoshConsole guy to ask specifically about this...