ANSI is used to show files instead of OEM in version 17 to 19 !

Nov 14, 2011
I am using TCC for a long time and when I use 'type', 'list', ... my file was displayed in OEM till release 16.
I install the release 19 and the same file is now displayed in ANSI ?
I have tested with several releases and the problem begins with release 17 and disappears in release 20 !
Look at the file attached to understand my problem.
Is this an option in releases 17 to 19 or a bug ?

I have a valid product key in 19 but not for 20,21,22 :-(



  • oemansi.jpg
    44.1 KB · Views: 217

Charles Dye

Super Moderator
Staff member
May 20, 2008
Albuquerque, NM
If you do CHCP, what does it say?

It reports the OEM code page. Which is usually, but not always, different from the Windows ("ANSI") code page.

I vaguely remember the issue gumn describes. TYPE originally treated 8-bit text files like CMD's TYPE. Then, for several versions, it instead interpreted them as Notepad does. And then it reverted to the original behavior. Somebody may have complained about the changed behavior. That somebody may even have been me, I don't recall.

The only way the behavior could change is for Rex to change it, and I can't imagine it being an accident. So I'm going to call this a misfeature, not a bug.
Nov 14, 2011
Ok, there is no solution in TCC 17 to 19 in this case :-( ? not a special option ?
Need to upgrade to the last release or keep my old version ?

(CHCP is 850 but changed to 437 has the same result.)

Charles Dye

Super Moderator
Staff member
May 20, 2008
Albuquerque, NM
Upgrading to the current version will fix a number of other issues as well. Not to mention encouraging Rex to continue support and updates.

But if you really want to type 8-bit files in the affected versions, my own UTYPE has an /I: option to specify the code page to use. UTYPE also defaults to the Windows code page, but /I:OEM will use the OEM code page.
Similar threads
Thread starter Title Forum Replies Date
D Can ANSI escape sequences be used in keystroke aliases? Support 8
vefatica ANSI, PROMPT ... ??? Support 1
vefatica ANSI??? Support 9
samintz ANSI issues Support 3
FreezerBurnt ANSI Prompt messes up list output. Support 39
samintz ANSI Colors Support 33
nickles ANSI Colors Windows 7 no longer working Support 6
samintz WAD ANSI issue Support 3
AndrewJ TakeCommand v23 + ANSI color sequences leads to black on black text Support 6
K ANSI Not Working Support 8
vefatica ANSI, ANSIWin10 ... ? Support 2
vefatica Win10's ANSI doesn't like 2>NUL Support 10
vefatica How do I see Windows 10's ANSI in action? Support 3
M Please explain TCMD's ANSI x3.64 support Support 4
vefatica ANSI Support 11
vefatica WAD ANSI still misbehaves with build 35 Support 36
vefatica ANSI misbehavior????? Support 4
Peter Murschall UNICODE mixed with ANSI Code Support 11
J Piping ANSI control sequences through 'type' Support 4
gschizas Take Command (Environment) doesn't show v2 ANSI colors Support 30
B How to? Convert Unicode to ANSI Support 1
vefatica WAD ANSI <ESC>[K Support 5
M Ansi.sys and old Dos programs Support 7
R ansi.sys ?? Support 15
E Shorter prompt / ANSI codes support Support 10
M Backquoted parameters used in GoSub don't pass string as a single parameter Support 2
R ffind not setting %_ffind_ vars if /f is used Support 7
Jay Sage How to Determine INI File Used by TCMD Support 6
I most used commands Support 2
R /p when used with DEL Support 1
C Does removing a registered TCMD lower the number registrations used? Support 5
D TCC can't start app if @shfolder[42] used for path Support 1
T Fixed free reports negative used amount Support 8
Q TCC: (Sys) The process cannot access the file because it is being used by another process. Support 0
Ville BUG: 'dig' of bind 9.6.0 P1 crashes when used with TC10 Support 6
S Wrong .INI file used by TCC Support 2
C show file description? with dir? Support 8
T How to? Show the values of batch variables on the TCC screen Support 21
w_krieger TCC takes time to show registered to. Support 31
R How to? Not have RT version show on start Support 3
D How to? How to show variables expanded in the log tab Support 3
Alpengreis WAD Command "MSGBOX /?" does not show option /N Support 2
R attribute selection /A:= does not show T Support 3
vefatica LIST and TYPE show UTF8 BOM Support 4
vefatica (OT) Show desktop from command line? Support 20
R TC 13 / TCDIALOG for 'dir' / show command Support 2
vefatica IDE window takes 30 seconds to show Support 0
S Can Take Command show TortoiseSvn folder icons? Support 9
S Emailed post did not show up Support 0

Similar threads