Skip to content

fcharset should be optional #60

@sigmaSd

Description

@sigmaSd

Hi, while porting this module to javascript I noticed that fcharset is required in this regex

FONTTABLE = re.compile(r"\\f(\d+).*?\\fcharset(\d+).*?([^;]+);")
but in the rtf spec its optional so the function might skip some valid text

I haven't noticed this issue in practice, most documents seems to always specify it, but I thought its something to know

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions