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

rtftxt.go somecode maybe Wrong #26

Closed
15738519635 opened this issue Feb 6, 2023 · 0 comments · Fixed by #29
Closed

rtftxt.go somecode maybe Wrong #26

15738519635 opened this issue Feb 6, 2023 · 0 comments · Fixed by #29

Comments

@15738519635
Copy link

15738519635 commented Feb 6, 2023

func getUnicode(control string) (bool, string) { if len(control) < 2 || control[0] != '\'' { return false, "" }

if len(control) < 2 || control[0] != ''' {
return false, ""
}
if control[0] == ''' {
return false, ""
}

rtf:{*\panose 02010600030101010101}'cb'ce'cc'e5
'cb'ce'cc'e5 is not text and need return false

kmpm added a commit to kmpm/cat that referenced this issue Oct 18, 2023
@lu4p lu4p closed this as completed in #29 Oct 19, 2023
lu4p pushed a commit that referenced this issue Oct 19, 2023
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 a pull request may close this issue.

1 participant