When attempting to convert Markdown files written in languages like Japanese to PDF, I noticed that lines sometimes wrap at unnatural positions (Case 1) or fail to wrap at all (Case 2).
Case 1: Line breaks occurring at unnatural positions
For the first verification, I created files for each of the three languages, both with and without a BOM. Additionally, I saved the files with different extensions—one for Markdown and one for plain text—while keeping the file content identical. Therefore, the attached files consist of a total of 12 files.
Case 2: Line breaks not occurring at all
In the second verification, only a portion of a paragraph was extracted from the original Japanese file with BOM. This same file was then saved with separate filenames for Markdown and Text formats. As in the first verification, these files were converted into PDF files. In the first paragraph, please note that no wrapping of lines has been performed, as shown in the figure below.
Notes
The sample files listed above are all plain text files that do not contain any Markdown-specific syntax. However, I have confirmed that the same issue occurs even with files written in Markdown syntax. To isolate the cause, I deliberately performed the verification using simple text. Also, as always, I performed the above verifications after resetting all settings to their defaults.
Hoping that the above information will be of some help to you.
Thank you so much for your continued support.
Best regards,
rakunavi
- PDF-XChange Editor PRO Version: 10.8.1 build 406
- OS Version: Windows 11 Pro / Home 25H2 Build 26200.7462
- PC Model: GMKtec Nucbox M7 Pro with HUION Kamvas Pro 19 / Lenovo IdeaPad C340-15IWL
[EDIT] Since a ticket has been officially issued for this matter, I have changed the topic title as follows. 2025-12-23 7:41 JST (UTC+9)
- Previous Title: When converting Markdown in languages like Japanese to PDF, line breaks may occur at odd positions or not occur at all
- New Title: RT#7708: Bug: MD line-break issues in Oriental languages