making 'utf-8' default codec

Nikola Skoric nick-news at net4u.hr
Mon Feb 27 07:16:03 EST 2006


Hi there,

Is there a way of making 'utf-8' default codec for the whole program, so 
I don't have to do .encode('utf-8') every time I print out a string?

-- 
"Now the storm has passed over me
I'm left to drift on a dead calm sea
And watch her forever through the cracks in the beams
Nailed across the doorways of the bedrooms of my dreams"



More information about the Python-list mailing list