I'm encountering a persistent issue with the custom `pxce:` URI protocol in PDF-Xchange Editor, specifically when dealing with file paths that contain Chinese characters. I'm hoping someone might have a solution or insight.
The Problem:
When I use a `pxce:` link to a PDF file with a Chinese path, it fails to recognize that the file is already open. Instead of switching to the existing window, it launches a new instance of PDF-Xchange Editor and opens the file again.
What I've Tried:
1. Direct Chinese Path:
Result: I can not open pdf, say the path is incorrect.pxce:file:///E:/Tmp/一篇我相当欣赏的开篇.pdf#comment=8c15c3e4-c1f6-4e11-bb1de4fd4a356435
2. URL-Encoded Path: I have tried encoding the path to ensure it's a valid URI.
Result: Opens a new window every time. If I opened the pdf, it would fail to match the already-opened document and opens a new one.pxce:file:///E:/Tmp/%E4%B8%80%E7%AF%87%E6%88%91%E7%9B%B8%E5%BD%93%E6%AC%A3%E8%B5%8F%E7%9A%84%E5%BC%80%E7%AF%87.pdf#comment=8c15c3e4-c1f6-4e11-bb1de4fd4a356435
Expected Behavior:
The pxce: URI should correctly identify the already opened PDF (regardless of whether the path is encoded or not) and simply bring its window to the foreground, applying the #comment=parameter.
Workaround:
For now, I've switched to using the command-line interface, which works perfectly and reliably handles this scenario:
Code: Select all
"C:\Program Files\Tracker Software\PDF-Editor\PDFXEdit.exe" /A "comment=8c15c3e4-c1f6-4e11-bb1de4fd4a356435" "E:\Tmp\一篇我相当欣赏的开篇.pdf"System Info:
- PDF-Xchange Editor Version: [10.7]
- OS: [ Windows 10]
Has anyone else experienced this? Is this a known limitation of the `pxce:` protocol's handling of non-ASCII characters, or is there a setting I'm missing?
Any help would be greatly appreciated!