UTF-8 label with nconvert on windows
Posted: Sun May 27, 2018 7:45 am
I am a bit surprised I couldn't find any topic on this:
Can someone help out? I have a windows .bat file that has a -text option where the argument is a utf-8 string,
much like the one I pasted below, but when I run the converted image shows "??" instead of the string in utf-8..
I must be doing something wrong, it looks like other people have no problem with this. What is the correct way
to create .bat files that run nconvert and let it take non-ascii-7 characters
chcp 65001
"C:/Program Files (x86)/XnView/nconvert.exe" -npcd 2 -size 256x256+0 -ctype rgb -corder inter -text_flag bottom-right -text "some string in utf-8" image.jpg
Can someone help out? I have a windows .bat file that has a -text option where the argument is a utf-8 string,
much like the one I pasted below, but when I run the converted image shows "??" instead of the string in utf-8..
I must be doing something wrong, it looks like other people have no problem with this. What is the correct way
to create .bat files that run nconvert and let it take non-ascii-7 characters
chcp 65001
"C:/Program Files (x86)/XnView/nconvert.exe" -npcd 2 -size 256x256+0 -ctype rgb -corder inter -text_flag bottom-right -text "some string in utf-8" image.jpg