fonttbl support: Fonts might enforce different encoding per section #53
Closed
Description
This is the rtf I have.
{\rtf1\fbidis\ansi\ansicpg1252\deff0\nouicompat\deflang1033{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}{\f1\fswiss\fcharset134 Microsoft YaHei;}{\f2\fnil Microsoft Sans Serif;}}
{\*\generator Riched20 10.0.19041}\viewkind4\uc1
\pard\ltrpar\f0\fs17 [HEADER]\par
[/HEADER]\par
[BODY]\par
[1]\par
00:00:44:22\par
00:00:48:05\par
\f1\'b8\'f9\'be\'dd\'d5\'e6\'ca\'b5\'b9\'ca\'ca\'c2\'b4\'b4\'d7\'f7\f0\par
fonttbl is in the destination list and ignored.
todo: read font table and switch encoding if necessary.
Metadata
Assignees
Labels
No labels