[IPython-dev] Experimental unicode branch

Robert Kern robert.kern at gmail.com
Fri Dec 14 14:29:33 EST 2007

Ville M. Vainio wrote:
> On Dec 13, 2007 5:17 PM, pan <nirvana117 at gmail.com> wrote:
>> I Added a file unicode_helper.py, and did some unicode-related changes.
>> Tested on debian(utf-8) and windows xp(cp936).
> Ok, I'll commit these. However, I will rename ensure_str and
> ensure_unicode to sstr and sunicode (s is for "safe"), if you don't
> mind.

How about terminal_str and terminal_unicode? These functions are for encoding to
and from the terminal encoding and aren't generally useful functions.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco

More information about the IPython-dev mailing list