Copy Chinese text; unwanted spacing between each original line break

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

YC Niu
User
Posts: 7
Joined: Fri Jun 14, 2024 7:05 am

Copy Chinese text; unwanted spacing between each original line break

Post by YC Niu »

Hi there,

In the case of copying Chinese text from a PDF, unwanted spacing between each original line break is appended after pasting.

This happens in Build 10.5.0.393 (Jan 14th, 2025).
However, no such problem in Build 10.2.1.385 (Jan 22nd, 2024).

Both two versions use the same setting files (.xces) for testing.

I hope the older version of the copying behavior of Chinese text can be preserved; it would be hassle-free for Chinese text users like me.

All the best.
You do not have the required permissions to view the files attached to this post.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 12157
Joined: Wed Jan 03, 2018 6:52 pm

Re: Copy Chinese text; unwanted spacing between each original line break

Post by Daniel - PDF-XChange »

Hello, YC Niu

There have been a few changes over the years in this respect, The encircled options in the preferences menu (Ctrl_K) can have an effect on this, with the "copy white space mode" option having the largest impact. First try changing that option to "Preserve only original whitespace" and see if that resolves the issue.
If not, you will want to test the other options and see if any configuration here helps in your situation.
image.png
Kind regards,
You do not have the required permissions to view the files attached to this post.
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
YC Niu
User
Posts: 7
Joined: Fri Jun 14, 2024 7:05 am

Re: Copy Chinese text; unwanted spacing between each original line break

Post by YC Niu »

Hello, Dan McIntyre

Thank you for your reply.
I have tried the option to "Preserve only original whitespace," but it doesn't help. Neither are the other options in the color rectangle mark. This is tested in the Build 10.5.0.393 (Jan 14th, 2025).

I want to install the older but no-problem version, Build 10.2.1.385 (Jan 22nd, 2024), for a short-term solution. Is there a download link for this version's installer? Even though it can be found outside the pdf-xchange website, I prefer to download it from the pdf-xchange website for security.

All the best.

YC Niu
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19924
Joined: Mon Jan 12, 2009 8:07 am

Re: Copy Chinese text; unwanted spacing between each original line break

Post by Stefan - PDF-XChange »

Hello YC Niu,

We just released build 395 - can you please test with it and let us know if copying of your text works better with it?
Also - if you try to copy the same text in another PDF software - is it pasted differently there?

Kind regards,
Stefan
YC Niu
User
Posts: 7
Joined: Fri Jun 14, 2024 7:05 am

Re: Copy Chinese text; unwanted spacing between each original line break

Post by YC Niu »

Hello, Dan McIntyre

None of the newer versions help.
Attached is the test result; please see the screen capture (.png) in the zip.
Test for Copy Text (2025-02-14_1400).zip
Here is the test summary.
◯ Adobe Acrobat Pro DC 2015 => Exactly as expected
◯ Adobe Acrobat Reader 2024.005.20399 64-bit => Exactly as expected
△ PDF-XChange Editor Build 10.2.1.385 (Jan 22nd, 2024) => Partially as expected
✕ PDF-XChange Editor Build 10.5.0.393 (Jan 14th, 2025) => Unexpected
✕ PDF-XChange Editor Build 10.5.2.395 (Feb 10th, 2025) => Unexpected

I hope there is an option for the same copy behavior as Adobe Acrobat Reader.

All the best.

YC Niu
You do not have the required permissions to view the files attached to this post.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 12157
Joined: Wed Jan 03, 2018 6:52 pm

Re: Copy Chinese text; unwanted spacing between each original line break

Post by Daniel - PDF-XChange »

Hello, YC Niu

In testing, I see the same here, however, I unfortunately do not currently have a workaround to offer. I have escalated this to the Dev team for review however, and will get back to you as soon as I hear from them.

[Edit]
We have a ticket for this now, unfortunately it is not something I can offer a workaround for, but our dev team will be investigating it and working on a resolution for the future.
RT#7320: Chinese text specing errors

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
YC Niu
User
Posts: 7
Joined: Fri Jun 14, 2024 7:05 am

Re: Copy Chinese text; unwanted spacing between each original line break

Post by YC Niu »

Hello, Dan McIntyre

Thank you for your testing, reply, and ticket for this issue.

All the best.

YC Niu
User avatar
Dimitar - PDF-XChange
Site Admin
Posts: 2638
Joined: Mon Jan 15, 2018 9:01 am

Copy Chinese text; unwanted spacing between each original line break

Post by Dimitar - PDF-XChange »

:)
User avatar
rakunavi
User
Posts: 1993
Joined: Sat Sep 11, 2021 5:04 am

Re: Copy Chinese text; unwanted spacing between each original line break

Post by rakunavi »

=== UPDATE ===================================================================
The issue reported below has been resolved in Ver 10.8.0 build 405.
I appreciate all the hard work and efforts of the support and development team.
==============================================================================


Hello all,

The issue reported in this topic also occurs in Japanese. It should apply to all users using languages that do not insert spaces between words (languages that do not perform word segmentation). I agree with the reporter's observation that it worked correctly up to build 385. The verification video below uses the same sample file reported in the following topic.

  • Japanese.pdf
In the video, the following steps are performed on both build 385 and build 404.

  1. Fully reset the settings.
  2. In the Preferences dialog, disable the option “Add line breaks after every text line to match the visual layout of what was copied”.
  3. Enable the Select Text tool, select the text, and then copy it.
  4. Paste it into the text editor.
  • figure.png

    Video.webm
The lower half of the screen displays the text editor, which is pre-configured to highlight space characters with a red marker. Verify that space characters exist only in the paste result for build 404.

The same issue occurs when selecting words that span multiple lines and executing the search or find command from the context menu. Since this relates to the behavior when saved as plain text mentioned in Issue 1 of RT#6440, it would be greatly appreciated if this could be improved together.

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.7.6 build 404
- 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
You do not have the required permissions to view the files attached to this post.
Last edited by rakunavi on Thu Dec 18, 2025 6:15 am, edited 1 time in total.
Top needs for PDFXCE
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FullScrnMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 12157
Joined: Wed Jan 03, 2018 6:52 pm

Re: Copy Chinese text; unwanted spacing between each original line break

Post by Daniel - PDF-XChange »

Hello, rakunavi

I have nudged the dev team and provided your new samples to them for review.

[Update] - It looks like this one was in progress, and should be resolved in the 10.8 release!

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
User avatar
rakunavi
User
Posts: 1993
Joined: Sat Sep 11, 2021 5:04 am

Re: Copy Chinese text; unwanted spacing between each original line break

Post by rakunavi »

Hello Daniel, thank you for contacting developers.

That's a huge help for users of languages that do not perform word segmentation.
I look forward to future updates.
Please give my best regards to the developer.

Best regards
rakunavi
Top needs for PDFXCE
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FullScrnMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 12157
Joined: Wed Jan 03, 2018 6:52 pm

Copy Chinese text; unwanted spacing between each original line break

Post by Daniel - PDF-XChange »

:)
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com