Author Topic: updated pwd.trid.xml + variant pwd-v1.trid.xml; *.pwd *psw  (Read 331 times)


  • Full Member
  • ***
  • Posts: 153
updated pwd.trid.xml + variant pwd-v1.trid.xml; *.pwd *psw
« on: April 28, 2020, 03:09:50 PM »
Hello trid users,

some days ago i used SoftMaker Office. The text module can read/read
documents with filename extension pwd and psw.

When running TrID on such inspected examples these are described as
"Unknown!" (See appended output/trid.txt).

There already exist a trid definition pwd.trid.xml for Pocket Word
document. This contains in front block section a pattern like:

   <ASCII> { \ p w d 2</ASCII>

On project page of latex2rtf on sourceforge about control words introduced
by other Microsoft products is written that the 2 after pwd is the version
number. When running tridscan on my few examples i get in front block
section a XML construct like:

   <ASCII> { \ p w d 1</ASCII>

So my inspected examples are in version one format. So i name new trid
definition pwd-v1.trid.xml with description "Pocket Word document (v1)".

Because generated trid definition is based only on few samples i got many
lines in global section. So i remove lines probably triggered by lucky
circumstances like:

I kept lines which are probably essential and maybe can be used to create
variants according to RTF specifications. This refer to code page and
language staff. So i keep 2 additional lines like:


The site does not exist any more. So i look for another web page
with information. For me best suited was a page about Microsoft Word on file
formats archive team. This is expressed by reference URL line like:


The SoftMaker Office program register the same mime type as for Microsoft
DOC format. This is expressed by line:


The PWD extension is used for Handheld PC variant and extension PSW is used
for Pocket PC variant. So i mention this fact in remark line, but i do not
what are the differences between these two variants.

With the new trid definition my unrecognized Pocket Word documents are now
described ( See appended output/trid-new-v.txt).

Furthermore i also change mime type and reference URL inside pwd.trid.xml
in the same manner.

The two TrID definitions, output and some examples stored in archive I hope that my 2 XML files can be used in future version of

With best wishes
Jörg Jenderek


  • Administrator
  • Hero Member
  • *****
  • Posts: 2084
    • Mark0's Home Page
Re: updated pwd.trid.xml + variant pwd-v1.trid.xml; *.pwd *psw
« Reply #1 on: April 28, 2020, 06:13:28 PM »
I found that there's a "application/x-pocket-word" that's probably better suited.
Also as a link I think is more apt.

Thanks for the info and new def, as usual!