PROMPT%> "C:\Program Files\calibre\ebook-convert.exe"  "Mobi - LRF TEST_PURIFIED.html"  "Mobi - LRF TEST.pdb"  --title="LRF TEST" --authors="Mobi" --language="english" --page-breaks-before="PAGE_BREAKS_BEFORE" --preprocess-html --book-producer="BookCreator" --tags="eZine"  --margin-left=3 --margin-right=3 --margin-top=3 --margin-bottom=0 --chapter-mark="pagebreak" --chapter "//h:p[re:test(@class, 'TWOCHAPTERTITLE', 'i')]" --level1-toc="//h:p[re:test(@class, 'TWOCHAPTERTITLE', 'i')]" --level2-toc="//h:p[re:test(@class, 'TWOONECHAPTERSUBTITLE', 'i')]" --level3-toc="//h:p[re:test(@class, 'TWOTWOCHAPTERSUBTITLE', 'i')]" --max-levels=2

1% Converting input to HTML...
InputFormatPlugin: HTML Input running on Mobi - LRF TEST_PURIFIED.html
Building file list...
Parsing all content...
Parsing file 'Mobi%20-%20LRF%20TEST_PURIFIED.html' as HTML Generating default TOC from spine...
Packaging HTML files...
34% Running transforms on ebook...
Merging user specified metadata...
Detecting structure...
        Detected chapter: [QUOTE=MOBIUSER;428712]
        Detected chapter: [QUOTE=MOBIUSER;428712]
        Detected chapter: [QUOTE=MOBIUSER;428712]
Auto generated TOC with 3 entries.
Flattening CSS and remapping font sizes...
Property: Unknown Property name. [7:2: panose-1]
Property: Unknown Property name. [10:2: panose-1]
Source base font size is 12.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Creating PDB Output...
67% Creating PDB Output
Compessing data...
Traceback (most recent call last):
  File "cli.py", line 225, in <module>
  File "cli.py", line 217, in main
  File "calibre\ebooks\conversion\plumber.pyo", line 685, in run
  File "calibre\ebooks\pdb\output.pyo", line 52, in convert
  File "calibre\ebooks\pdb\palmdoc\writer.pyo", line 42, in write_content
  File "calibre\ebooks\pdb\header.pyo", line 79, in build_header
UnicodeDecodeError: 'ascii' codec can't decode byte 0xb4 in position 6: ordinal
not in range(128)