# File lib/thor/shell/basic.rb, line 364 def as_unicode old, $KCODE = $KCODE, "U" yield ensure $KCODE = old end