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

it seems that doconv docx_update failed when input file name contain Chinese character #8

Open
CanYellow opened this issue Jul 21, 2024 · 0 comments

Comments

@CanYellow
Copy link

I create a docx file contain field codes, I use docx_update to update the file. the filename is something like "测试.docx". There is no error output in console, but fields in the file don't update. Seems that docxupdate.ps1 failed.

I test another filename like "test.docx", the fields update successfully.

PowerShell may handle the ps1 scripts with wrong charset. but I also copy the context as new script and change "%s" as something like "pathto\测试.docx". the script runs well with file updated. So I think something wrong happens in the process between doconv and PowerShell.

Could anybody give some clue or help? thank you in advance.

R version 4.4.1
doconv version 0.3.2
powerShell 7.4.3

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

No branches or pull requests

1 participant