Trouble with long (unicode) paths...

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

Moderators: XnTriq, xnview

Post Reply
User avatar
Cinemaizer
Posts: 23
Joined: Mon Jan 28, 2008 2:22 pm
Location: Russia

Trouble with long (unicode) paths...

Post by Cinemaizer »

Hello Pierre!
There is a problem with long unicode paths... Usually i'm using nconvert with filelist and it's ok, but if i try to implement the launch (with bat-file):

nconvert -crop 43 0 682 1024 -ratio -dpi 300 -rtype quick -resize 1205 1795 -truecolors -o ..\imready\24.02.08\OR08022414\imr_1_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\SNC11570.JPG"
nconvert -crop 43 0 682 1024 -ratio -dpi 300 -rtype quick -resize 1205 1795 -truecolors -o ..\imready\24.02.08\OR08022414\imr_2_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\SNC11571.JPG"
nconvert -crop 32 0 512 768 -ratio -dpi 300 -rtype quick -resize 1205 1795 -truecolors -o ..\imready\24.02.08\OR08022414\imr_3_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\SNC11577.JPG"
nconvert -crop 32 0 512 768 -ratio -dpi 300 -rtype quick -resize 1205 1795 -truecolors -o ..\imready\24.02.08\OR08022414\imr_4_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\SNC11611.JPG"
nconvert -crop 0 43 1024 682 -ratio -dpi 300 -rtype quick -resize 1795 1205 -truecolors -o ..\imready\24.02.08\OR08022414\imr_5_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\МЫ207-~1.JPG"
nconvert -crop 0 43 1024 682 -ratio -dpi 300 -rtype quick -resize 1795 1205 -truecolors -o ..\imready\24.02.08\OR08022414\imr_6_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\25-07-~1\SNC11565.JPG"
nconvert -crop 43 0 682 1024 -ratio -dpi 300 -rtype quick -resize 1205 1795 -truecolors -o ..\imready\24.02.08\OR08022414\imr_7_10x15x1.jpg -out jpeg -i "j:\img\for_Nata\25-07-~1\SNC11569.JPG"

It's working, but the 5-th line don't working:(
I see "Error: Couldn't open file j:\img\for_Nata\ж-207-~1.JPG". I thought that problem with long names therefore i use shortfilenames and double quotes for paths, but apparently trouble only with unicode (cyrillic) symbols in path! I am right?

I can't using the filelist:( there are many different settings for each file. What can I do in this case ?
User avatar
xnview
Author of XnView
Posts: 33840
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Trouble with long (unicode) paths...

Post by xnview »

Yes, unicode is not supported by nconvert
Pierre.
User avatar
Cinemaizer
Posts: 23
Joined: Mon Jan 28, 2008 2:22 pm
Location: Russia

Post by Cinemaizer »

Yes, unicode is not supported by nconvert
But why it works well with nconvert and filelist ???

I know how to emulate unicode with ascii in html, for example with such tool - http://www.mikezilla.com/exp0012.html (it's online, but there are many desktop solutions and just algorytms...)

Could you implement this feature into nconvert ? Please... :?
User avatar
xnview
Author of XnView
Posts: 33840
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Cinemaizer wrote:
Yes, unicode is not supported by nconvert
But why it works well with nconvert and filelist ???
Strange, perhaps a problem with DOS command line
Pierre.
User avatar
DOS386
Posts: 291
Joined: Sun Jun 11, 2006 2:43 pm

Post by DOS386 »

xnview wrote:
Cinemaizer wrote:
Yes, unicode is not supported by nconvert
But why it works well with nconvert and filelist ???
Strange, perhaps a problem with DOS command line
Maybe my idea would easily and securely prevent trouble with DOS or "DOS" command line ?

http://newsgroup.xnview.com/viewtopic.php?t=13755 (My thread)

http://newsgroup.xnview.com/viewtopic.php?t=3930 (Hacker's thread)

:idea:
Post Reply