Debugger now Unicode?

May 20, 2008
11,400
99
Syracuse, NY, USA
If I start IDE with a batch file containing "echo foo\r\n" it shows me five boxes. If I compose a batch file in IDE it's saved as Unicode.
 

rconn

Administrator
Staff member
May 14, 2008
12,344
149
> If I start IDE with a batch file containing "echo foo\r\n" it shows me
> five boxes. If I compose a batch file in IDE it's saved as Unicode.

No, the debugger is not now Unicode. However, with a file that short,
Windows is unable to determine whether it's ASCII or Unicode, and the
Windows API guesses (wrongly) that it's Unicode. (If you added or
subtracted one character, Windows would know that it was ASCII.)

Fortunately, there's not much reason to attempt to debug a batch file that
only says "foo"!

Rex Conn
JP Software
 
Similar threads
Thread starter Title Forum Replies Date
S Debugger keeps breaking with no break point set. Support 1
D Layout debugger windows Support 2
R Batch Debugger Command Expansion Window Support 3
S Debugger menu absent Support 10
MikeBaas Using the debugger Support 2
R Take Command Debugger v22 ENDCOMMENT not bolded Support 6
K Batch debugger not stepping correctly Support 4
S Output from debugger Support 4
Joe Caverly Works in debugger, not from cmd line Support 1
S Problems with dir command in the debugger Support 5
S Debugger Bat file call history Support 9
T WAD Strange Unexpected "features" in the Debugger Support 2
BeechComer Debugger: how to set %1 variable? Support 3
D Chaining crashes the debugger Support 13
T Fixed V18 debugger crashed on save button Support 1
T Fixed V18 debugger crashed on stop button Support 2
Exolon V17 beta, debugger: STRG-S is inserting character instead of saving Support 12
MickeyF debugger keeps crashing Support 6
epement differences in IDE/debugger between v12 and v14 Support 1
Alan Strader Take Command IDE/Debugger has stopped working Support 5
newgeekorder Debugger IDE - strange tab and parameter behaviour Support 1
vefatica Debugger: popup _VARIABLE values Support 1
vefatica Another debugger observation Support 12
P Is there a way to examine arrays in the batch debugger? Support 1
Peter Murschall TEE cannot handle Unicode output Support 2
B Fullwidth Unicode forms display incorrectly Support 5
T @execstr unicode support Support 6
Peter Murschall TPIPE generate unicode on Piping or redirecting Support 3
D Pasting Unicode data has different behavior on TCC and CMD Support 2
vefatica TYPE goes crazy with no-BOM Unicode file Support 7
Charles Dye TCC smashing Unicode quotes Support 9
Peter Murschall UNICODE mixed with ANSI Code Support 11
Joe Caverly Unicode, Codepage 437, and line characters Support 3
B How to? Convert Unicode to ANSI Support 1
StarliteLemming Fileread fails on Unicode file Support 10
vefatica DO ... /P ... and Unicode? Support 3
vefatica Unicode ... I don't understand Support 1
jadaml Echo unicode characters from UTF-8 Batch files? Support 1
Charles Dye @ASCII vs. @UNICODE Support 5
A How to? Filter history list with unicode chars Support 0
vefatica TYPE, Unicode, installer Support 10
A WAD Limitations on display of unicode punctuation marks Support 11
A Include lists and Unicode Support 1
M How to? How do I read a Unicode file through standard-input? Support 4
M WAD A bit of strangeness related to Unicode-marked file not being Unicode Support 2
M @CHAR and UNICODE Support 4
D LIST command wierdness with empty Unicode file Support 1
B Unicode/dword issue in TCC12 Support 4
J dir failure with some unicode characters Support 6
M TCC Unicode support? Support 7

Similar threads