# -*- coding: utf-8 -*- s_in = "Ø 125 mm".decode('utf8')s_out = s_in.encode('cp1251', 'xmlcharrefreplace')print s_out
Standard input is empty
Ø 125 mm
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!