in reply to bug? duped filehandles and unicode

Here's an interesting discussion related to your question.