Sublime text opens an xml file in HEX view

3

I have an xml file(rename to .xml) and I need to open this in Sublime text. But if I try to open and view it, it displays the data in Hexadecimal values. But I want this to be displayed in xml format. But If I view other xml files its opening normally.

The data is displayed as:

ef03 0000 0f00 0000 1500 0000 6200 6900
7a00 2e00 6200 6f00 6b00 6800 6f00 7200
7300 7400 2e00 7800 7000 7200 6900 7600
6100 6300 7900 0000 0100 0000 e00f 0000
0000 0000 0100 0000 2100 0000 6200 6900
7a00 2e00 6200 6f00 6b00 6800 6f00 7200
....
....
0000 0000 0000 0000

How can I open and analyse this file in sublime text editor? Is there any shortcut or menu option to convert this?

UPDATE:

After selecting File > Reopen with Encoding > UTF-16 LE as suggested in the comments the file now is partially visible with NULL text inbetween the text which is not copiable(posted as a screenshot below),

Screenshot_sublime_encodign

Lucky

Posted 2015-07-29T06:00:00.007

Reputation: 422

Can you verify with a different text editor that this file contains XML? – NonlinearFruit – 2015-07-31T16:10:02.423

@NonlinearFruit In Notepad++ also some unreadable text followed by bunch of NULL values are displayed. Is there any way to convert these hexadecimal values to xml or anyother human readable format.? – Lucky – 2015-07-31T16:59:40.157

With this file in ST2, try File > Reopen with Encoding and try each of those. If you're lucky, one of those might fix it. – NonlinearFruit – 2015-07-31T20:06:32.520

@NonlinearFruit Thats partially readable but with |NULL| values filled within the text which are non-copiable. – Lucky – 2015-07-31T20:44:58.243

Is UTF-16 LE the only encoding that halfway worked? – NonlinearFruit – 2015-08-01T11:12:43.620

Yes..All other formats are totally unreadable.. – Lucky – 2015-08-01T11:14:36.013

No answers