Unicode path and command line

You found an error in the program ? Report it here
Post Reply
infimum
Posts: 2
Joined: 2008-11-29 09:28:08

Unicode path and command line

Post by infimum »

Hi,

My Windows has to handle some characters in Windows Codepage 1252 (aka ANSI) as unicode characters. More specifically, any characters above decimal value 128 (cf. http://www.ascii.ca/cp1252.htm). This is where my problem lies. For exmaple, if the following character

Code: Select all

ç
is used in a path given to Ant Rename as a part of commad line, it doesn't accept it.

It's probably a bug due to some component you used, but could you look into it? Thanks.
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Hi,
What codepage do you use in Windows? If you do not use 1252 indeed it uses unicode for such characters.
As mentioned on my site, the current version does not support unicode for command line:
# Batch files cannot have unicode characters in their name and path
# Ditto for the folder where the program is located, and for the command-line when it is called with parameters
The next version will fix these points, so it will accept unicode command-line parameters. If you need it now, contact me by e-mail, I'll send you an "under development" version of the program with that feature already working (well, more or less :D maybe there are still bugs)
infimum
Posts: 2
Joined: 2008-11-29 09:28:08

Post by infimum »

antp wrote:As mentioned on my site, the current version does not support unicode for command line
Duh! Sorry I missed it :sleep:
I live with it for now and decide to patiently wait for the next version :D
Post Reply