Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues with unicode ANSI skipping #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ztravis
Copy link

@ztravis ztravis commented Apr 5, 2024

The current implementation of unicode ANSI replacement sequences is slightly wrong - according to https://www.biblioscape.com/rtf15_spec.htm

  • A scope delimiter (i.e. "{" or "}") should end the current skippable data
  • Control words or symbols should be considered a single skipped character (and in my testing with MS office, they're ignored)
  • Any binary data is also considered a single skipped character

The current implementation of unicode ANSI replacement sequences is slightly wrong - according to https://www.biblioscape.com/rtf15_spec.htm

* A scope delimiter (i.e. "{" or "}") should end the current skippable data
* Control words or symbols should be considered a single skipped character (and in my testing with MS office, they're ignored)
* Any binary data is also considered a single skipped character
@ztravis ztravis force-pushed the bugfix/unicode-skip branch from 6bfda82 to b4f4a44 Compare April 8, 2024 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant