aspose file tools
The moose likes General Computing and the fly likes Extended ANSI character error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » General Computing
Reply Bookmark "Extended ANSI character error" Watch "Extended ANSI character error" New topic
Author

Extended ANSI character error

prashant rathod
Greenhorn

Joined: Apr 05, 2012
Posts: 11
hi
i am using batch file to run one program but while doing that i m using § this character in .bat file.
but the problem is that when i am trying to run that .bat file, the DOS is converting the § character to another character.
why DOS is doing this?
how do i solve this?
any suggestions?
thank you.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32689
    
    4
I have never heard of ANSI characters. Do you mean ASCII?
It is likely that the DOS terminal can only cope with a restricted range of chars; remember that in C an unsigned char has the range 0-0xff. What is the integer value of §?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35247
    
    7
Ah, those young whippersnappers, they never knew the joys of early Windows versions. The ANSI character set most certainly exists, although it's dying out: http://www.robelle.com/smugbook/ansichar.html, http://ascii-table.com/ansi-codes.php

I'm not clear on the question, though: what, exactly, does "the DOS is converting the § character to another character" mean?


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Extended ANSI character error
 
Similar Threads
NoClassDefFound error
what should i do?
javaw and bat files
Batch File Runner in Windows
can we run a Batch file from our java program