Problem with Korean filenames
Moderators: XnTriq, helmut, xnview
-
- Posts: 3
- Joined: Wed Nov 06, 2013 8:15 am
Problem with Korean filenames
Hello.
I used Nconvert on my windows 10 and I noticed that it cannot convert the file whose name has Korean.
For example, I want to resize 문하.jpg
nconvert.exe -quiet -out jpeg -q 80 -i -opthuff -dct 2 -subsampling 2 -rtype lanczos2 -resize 1600 1600 문하.jpg
Nconvert will do nothing to it.
I tested Chinese and Japanese and they are all supported well.
I don't know why Korean has this problem.
Please help to check.
Thank you.
I used Nconvert on my windows 10 and I noticed that it cannot convert the file whose name has Korean.
For example, I want to resize 문하.jpg
nconvert.exe -quiet -out jpeg -q 80 -i -opthuff -dct 2 -subsampling 2 -rtype lanczos2 -resize 1600 1600 문하.jpg
Nconvert will do nothing to it.
I tested Chinese and Japanese and they are all supported well.
I don't know why Korean has this problem.
Please help to check.
Thank you.
-
- Author of XnView
- Posts: 44451
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 3
- Joined: Wed Nov 06, 2013 8:15 am
Re: Problem with Korean filenames
I tested this unicode version for Korean, Japanese and Chinese characters and it works well for all.
Thank you.
Thank you.
-
- Posts: 7
- Joined: Fri Feb 26, 2010 9:38 pm
- Location: Germany
Re: Problem with Korean filenames
I had the same problem as yuanyues with languages like arabic, chinese and so on. With the Unicode version it works for all languages (en de jp ko ru fr ar zh_cn zh_tw es it pt tr pl id th vi). Thank you very much
But the Unicode version introduced a bug. I've compared it with version 7.136 from download page.
The extension of the output file is truncated if I use the parameter -out png. Without the parameter it works.
without the parameter -out png it works as expected.
Here the non Unicode version
But the Unicode version introduced a bug. I've compared it with version 7.136 from download page.
The extension of the output file is truncated if I use the parameter -out png. Without the parameter it works.
Code: Select all
"c:\Program Files\NConvert\nconvert.exe" -wmopacity 100 -wmflag top-left -wmfile "C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\noversion.png" -keepfiledate [b]-out png[/b] -clevel 9 -o "K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\%" "C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\*.png"
** NCONVERT v7.136 (c) 1991-2022 Pierre-E Gougelet (Jan 29 2023/11:09:27) **
Version for Windows Xp/Vista/7 x64 (All rights reserved)
** This is freeware software (for non-commercial use)
Conversion of C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\101 - Black Widow.png into K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\101 - Black Widow.p OK
Conversion of C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\102 - Reichstein.png into K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\102 - Reichstein.p OK
Code: Select all
"c:\Program Files\NConvert\nconvert.exe" -wmopacity 100 -wmflag top-left -wmfile "C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\noversion.png" -keepfiledate -clevel 9 -o "K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\%" "C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\*.png"
** NCONVERT v7.136 (c) 1991-2022 Pierre-E Gougelet (Jan 29 2023/11:09:27) **
Version for Windows Xp/Vista/7 x64 (All rights reserved)
** This is freeware software (for non-commercial use)
Conversion of C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\101 - Black Widow.png into K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\101 - Black Widow_2.png OK
Conversion of C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\102 - Reichstein.png into K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\102 - Reichstein_2.png OK
Code: Select all
"c:\Program Files\NConvert\nconvert_.exe" -wmopacity 100 -wmflag top-left -wmfile "C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\noversion.png" -keepfiledate -out png -clevel 9 -o "K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\%" "C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\*.png"
** NCONVERT v7.136 (c) 1991-2022 Pierre-E Gougelet (Jan 23 2023/13:58:10) **
Version for Windows Xp/Vista/7 x64 (All rights reserved)
** This is freeware software (for non-commercial use)
Conversion of C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\101 - Black Widow.png into K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\101 - Black Widow_3.png OK
Conversion of C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\102 - Reichstein.png into K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\102 - Reichstein_3.png OK
^C
"c:\Program Files\NConvert\nconvert_.exe" -wmopacity 100 -wmflag top-left -wmfile "C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\noversion.png" -keepfiledate -clevel 9 -o "K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\%" "C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\*.png"
** NCONVERT v7.136 (c) 1991-2022 Pierre-E Gougelet (Jan 23 2023/13:58:10) **
Version for Windows Xp/Vista/7 x64 (All rights reserved)
** This is freeware software (for non-commercial use)
Conversion of C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\101 - Black Widow.png into K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\101 - Black Widow_4.png OK
Conversion of C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\102 - Reichstein.png into K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\102 - Reichstein_4.png OK
-
- Author of XnView
- Posts: 44451
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 7
- Joined: Fri Feb 26, 2010 9:38 pm
- Location: Germany
Re: Problem with Korean filenames
Hey Pierre,
first, I've to thank you very much for all your effort.
I can confirm, the bug has been fixed.
first, I've to thank you very much for all your effort.
I can confirm, the bug has been fixed.
-
- Posts: 39
- Joined: Tue May 18, 2021 3:22 pm
Re: Problem with Korean filenames
This bug or similar also exists in recent NConvert 7.154 (both Unicode and not).McBluna wrote: ↑Mon Mar 13, 2023 7:38 am I had the same problem as yuanyues with languages like arabic, chinese and so on. With the Unicode version it works for all languages (en de jp ko ru fr ar zh_cn zh_tw es it pt tr pl id th vi). Thank you very much
But the Unicode version introduced a bug. I've compared it with version 7.136 from download page.
The extension of the output file is truncated if I use the parameter -out png. Without the parameter it works.without the parameter -out png it works as expected.Code: Select all
"c:\Program Files\NConvert\nconvert.exe" -wmopacity 100 -wmflag top-left -wmfile "C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\noversion.png" -keepfiledate [b]-out png[/b] -clevel 9 -o "K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\%" "C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\*.png" ** NCONVERT v7.136 (c) 1991-2022 Pierre-E Gougelet (Jan 29 2023/11:09:27) ** Version for Windows Xp/Vista/7 x64 (All rights reserved) ** This is freeware software (for non-commercial use) Conversion of C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\101 - Black Widow.png into K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\101 - Black Widow.p OK Conversion of C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\102 - Reichstein.png into K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\102 - Reichstein.p OK
Here the non Unicode versionCode: Select all
"c:\Program Files\NConvert\nconvert.exe" -wmopacity 100 -wmflag top-left -wmfile "C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\noversion.png" -keepfiledate -clevel 9 -o "K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\%" "C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\*.png" ** NCONVERT v7.136 (c) 1991-2022 Pierre-E Gougelet (Jan 29 2023/11:09:27) ** Version for Windows Xp/Vista/7 x64 (All rights reserved) ** This is freeware software (for non-commercial use) Conversion of C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\101 - Black Widow.png into K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\101 - Black Widow_2.png OK Conversion of C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\102 - Reichstein.png into K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\102 - Reichstein_2.png OK
Code: Select all
"c:\Program Files\NConvert\nconvert_.exe" -wmopacity 100 -wmflag top-left -wmfile "C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\noversion.png" -keepfiledate -out png -clevel 9 -o "K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\%" "C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\*.png" ** NCONVERT v7.136 (c) 1991-2022 Pierre-E Gougelet (Jan 23 2023/13:58:10) ** Version for Windows Xp/Vista/7 x64 (All rights reserved) ** This is freeware software (for non-commercial use) Conversion of C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\101 - Black Widow.png into K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\101 - Black Widow_3.png OK Conversion of C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\102 - Reichstein.png into K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\102 - Reichstein_3.png OK ^C "c:\Program Files\NConvert\nconvert_.exe" -wmopacity 100 -wmflag top-left -wmfile "C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\noversion.png" -keepfiledate -clevel 9 -o "K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\%" "C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\*.png" ** NCONVERT v7.136 (c) 1991-2022 Pierre-E Gougelet (Jan 23 2023/13:58:10) ** Version for Windows Xp/Vista/7 x64 (All rights reserved) ** This is freeware software (for non-commercial use) Conversion of C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\101 - Black Widow.png into K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\101 - Black Widow_4.png OK Conversion of C:\Users\McBlu\OneDrive\Dokumente\Top War\Hero Sheets\de\102 - Reichstein.png into K:\Install\Games\Top War\Hero Sheets\2023-03-13\de\102 - Reichstein_4.png OK
nconvert.exe -o "1.png" "1.avif"
nconvert.exe -out png -o "1.png" "1.avif"
1st command gives avif ouput file, 2nd png.
-
- Author of XnView
- Posts: 44451
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 39
- Joined: Tue May 18, 2021 3:22 pm
Re: Problem with Korean filenames
That after 1st command I get output file in avif format but it should be in png. It's not just wrong extension but also wrong format. So to get correct png file after convertion from avif to png I should add "-out png" command but correct behaviour that NConvert should get right (png) format from filename.
-
- Author of XnView
- Posts: 44451
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 39
- Joined: Tue May 18, 2021 3:22 pm