using System;
using System.Text;
public class Test
{
public static void Main()
{
Encoding seuEncoding = Encoding.GetEncoding("Cp1252");
Encoding cp850 = Encoding.GetEncoding(850);
byte[] cpBytes = cp850.GetBytes("ManutenþÒo ElÚtrica");
string msg = seuEncoding.GetString(cpBytes);
Console.Write(msg);
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uVGV4dDsKCnB1YmxpYyBjbGFzcyBUZXN0CnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBNYWluKCkKCXsKICAgICAgICBFbmNvZGluZyBzZXVFbmNvZGluZyA9IEVuY29kaW5nLkdldEVuY29kaW5nKCJDcDEyNTIiKTsKICAgICAgICBFbmNvZGluZyBjcDg1MCA9IEVuY29kaW5nLkdldEVuY29kaW5nKDg1MCk7CiAgICAgICAgCiAgICAgICAgYnl0ZVtdIGNwQnl0ZXMgPSBjcDg1MC5HZXRCeXRlcygiTWFudXRlbsO+w5JvIEVsw5p0cmljYSIpOwogICAgICAgIHN0cmluZyBtc2cgPSBzZXVFbmNvZGluZy5HZXRTdHJpbmcoY3BCeXRlcyk7CiAgICAgICAgCiAgICAgICAgQ29uc29sZS5Xcml0ZShtc2cpOwogICAgfQp9