Problem with Korean filenames

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, helmut, xnview

yuanyues
Posts: 3
Joined: Wed Nov 06, 2013 8:15 am

Problem with Korean filenames

Post by yuanyues »

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.
User avatar
xnview
Author of XnView
Posts: 44451
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Problem with Korean filenames

Post by xnview »

could you try this unicode version
Pierre.
yuanyues
Posts: 3
Joined: Wed Nov 06, 2013 8:15 am

Re: Problem with Korean filenames

Post by yuanyues »

I tested this unicode version for Korean, Japanese and Chinese characters and it works well for all.

Thank you.
User avatar
McBluna
Posts: 7
Joined: Fri Feb 26, 2010 9:38 pm
Location: Germany

Re: Problem with Korean filenames

Post by McBluna »

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.

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
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 -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
Here the non Unicode version

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
User avatar
xnview
Author of XnView
Posts: 44451
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Problem with Korean filenames

Post by xnview »

yes right. Please try this one
Pierre.
User avatar
McBluna
Posts: 7
Joined: Fri Feb 26, 2010 9:38 pm
Location: Germany

Re: Problem with Korean filenames

Post by McBluna »

Hey Pierre,
first, I've to thank you very much for all your effort. :D
I can confirm, the bug has been fixed.
dedbombom
Posts: 39
Joined: Tue May 18, 2021 3:22 pm

Re: Problem with Korean filenames

Post by dedbombom »

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.

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
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 -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
Here the non Unicode version

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
This bug or similar also exists in recent NConvert 7.154 (both Unicode and not).
nconvert.exe -o "1.png" "1.avif"
nconvert.exe -out png -o "1.png" "1.avif"
1st command gives avif ouput file, 2nd png.
User avatar
xnview
Author of XnView
Posts: 44451
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Problem with Korean filenames

Post by xnview »

dedbombom wrote: Wed Sep 06, 2023 1:53 pm This bug or similar also exists in recent NConvert 7.154 (both Unicode and not).
nconvert.exe -o "1.png" "1.avif"
nconvert.exe -out png -o "1.png" "1.avif"
1st command gives avif ouput file, 2nd png.
Sorry but whats the problem?
Pierre.
dedbombom
Posts: 39
Joined: Tue May 18, 2021 3:22 pm

Re: Problem with Korean filenames

Post by dedbombom »

xnview wrote: Wed Sep 06, 2023 2:27 pm
dedbombom wrote: Wed Sep 06, 2023 1:53 pm This bug or similar also exists in recent NConvert 7.154 (both Unicode and not).
nconvert.exe -o "1.png" "1.avif"
nconvert.exe -out png -o "1.png" "1.avif"
1st command gives avif ouput file, 2nd png.
Sorry but whats the problem?
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.
User avatar
xnview
Author of XnView
Posts: 44451
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Problem with Korean filenames

Post by xnview »

you need to set -out
Pierre.
dedbombom
Posts: 39
Joined: Tue May 18, 2021 3:22 pm

Re: Problem with Korean filenames

Post by dedbombom »

xnview wrote: Wed Sep 06, 2023 2:52 pm you need to set -out
Sorry my mistake then. I though that NConvert could auto detect needed output format from ouput file name.