Skip to Content
Menu
This question has been flagged
2458 Views

Hello,
I am facing this issue while showing data in _logger(),  How we can handle this part with logger().
I know how can this get handled through print() using below code.
import sys
from kitchen.text.converters import getwriter
UTF8Writer = getwriter('utf8')
sys.stdout = UTF8Writer(sys.stdout)

Please suggest something if we can.

Avatar
Discard