Joke Collection Website - Blessing messages - How to open the vmsg SMS file backed up by mobile phone on the computer, or how to view it after converting it into txt?

How to open the vmsg SMS file backed up by mobile phone on the computer, or how to view it after converting it into txt?

The file content of a typical VMG file is as follows: BEGIN:VMSG.

Version: 1. 1

X-IRMC- status: read

X-IRMC-BOX: inbox

X-NOK-DT:20080704T085208Z // Here is the time when this message was received, in Nokia format (hehe, I think it is in Nokia format).

X message type: delivery

BEGIN:VCARD

Version: 3.0

n:

Tel: +86 138xxxxxxxx // Here is the mobile phone number of the sender/receiver.

END:VCARD

Start: VENV

BEGIN:VBODY

Date: 04.07.2008 08:52:08 // This date should be sent by the mobile communication service provider, indicating the time when the service provider forwarded this short message.

Well, both//This is a real message.

END:VBODY // ends with end: vbody.

END:VENV

End: Some other areas of VMSG have not been carefully studied, because after reading a lot of VMG files, I found that other materials seem to be basically the same, and it is meaningless to analyze them, so I just ignored them. In fact, these fields are easy to handle, but there is one thing. Does that mobile phone number represent the sender or the recipient? At first, I saw an "inbox" in the fourth line, which I thought could be used to judge whether it was in the inbox or the outbox, and the result was the same! ! Later, it was found that the value of "X-MESSAGE-TYPE:" in the sixth line was DELIVER if it was a received message, and it was "SUBMIT" if it was a self-sent message. So this field can be used to judge whether this mobile phone number is the sender's or the receiver's ~~OK. After understanding the meaning of this information, the rest is to write a program to realize it ~ ~ In fact, the program is quite simple. Codes from Unicode to GB23 12 are everywhere, and then it is OK to analyze them line by line ~ I won't introduce them in detail here. Let's post the work: ConvertVMG.rar Interface: It is also very simple to use, and you can convert a single VMG file into a TXT file. Next, you can convert all VMG files in a certain directory in batch, and you can choose to output them as a single file in csv format or generate them. All right, that's all. Try it ~ ~ Don't forget to tell me if you have any questions ~