Question: I want to apply css to google calender iframe.  
 I had tried with Jquery but it gives JavaScript security error.  
 However I also tried [this link](https://stackoverflow.com/questions/217776/how-to-apply-css-to-iframe)

Got success but many of its links goes to 404 page as it takes my domain as base URL

Answer: 
Use the following functions to decode "UCS2" response data:

```
    public static String HexStr2UnicodeStr(String strHex)
    {
        byte[] ba = Hex2ByteArray(strHex);
        return HexBytes2UnicodeStr(ba);
    }

    public static String HexBytes2UnicodeStr(byte[] ba)
    {
        var strMessage = Encoding.BigEndianUnicode.GetString(ba, 0, ba.Length);
        return strMessage;
    }

```

for example:

```
String str2 = SmsEngine.HexStr2UnicodeStr("0062004B006100730068000A00310020004D0032004D0020005400720061006E0073006600650072000A0032002000440069007300620075007200730065000A00330020004D007900200062004B006100730068000A0034002000480065006C0070006C0069006E0065000A");
// str2 = "bKash\n1 M2M Transfer\n2 Disburse\n3 My bKash\n4 Helpline\n"

```

Please also check [UnicodeStr2HexStr()](https://stackoverflow.com/a/25155171/638977)
Hi this code is something called PDU (Protocol Data Unit). To decode it is not straight forward. you need to understand the structure first.