Skip to content

pfftools: fix subject truncation for non-ASCII message subjects - #166

Open
wf34 wants to merge 1 commit into
libyal:mainfrom
wf34:export_non_ascii-title-fix
Open

pfftools: fix subject truncation for non-ASCII message subjects#166
wf34 wants to merge 1 commit into
libyal:mainfrom
wf34:export_non_ascii-title-fix

Conversation

@wf34

@wf34 wf34 commented Aug 11, 2026

Copy link
Copy Markdown

Did reproduce this when exporting a PST archive, containing MS Todo entires. Tasks with English titles did convert correctly, while titles in other languages have converted with the first letter cut away.

My understanding that this prefix cutting is due to MAPI subject-prefix control code removal, but affects non-ASCII languages.

The proposed change was tested to correct exporting of non-English titles, e.g., to not produce this:

  cyr byte0=-48  triggers=1   "Задача" -> "адача"
  cjk byte0=-28  triggers=1   "你好"   -> "\xa0好"

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