dir failure with some unicode characters

May 20, 2008
603
0
Sammamish, WA
TCC 11.00.52 Windows 7 [Version 6.1.7600]
TCC Build 52 Windows 7 Build 7600

Using a TCC tab inside TCMD.

I have a file named U+0999.txt, i.e. a single Unicode character 0x0999
followed by the extension .txt: ঙ.txt

When this file exists and I do a *dir, that one line is rendered as if the
font size were reduced by about 30%. As I start to mouse-mark over it, the
marked region is normal size until I come to the unicode character, and then
the rendering goes back to the reduced size. The marked region captures what
ought to be captured, not what is visibly captured.


--
Jim Cook
2010 Mondays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Tuesday.
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
> When this file exists and I do a *dir, that one line is rendered as if the
> font size were reduced by about 30%. As I start to mouse-mark over it, the
> marked region is normal size until I come to the unicode character, and
then

> the rendering goes back to the reduced size. The marked region captures
> what ought to be captured, not what is visibly captured.

This can't have anything to do with DIR. It is most likely a font issue --
what font(s) are you using in your (hidden) console window and in TCMD?
 
May 20, 2008
603
0
Sammamish, WA
I just downloaded the newest DejaVu font from sourceforge for my TCMD
window. How do I find out the font in the hidden console?

On Tue, Feb 22, 2011 at 09:45, rconn <> wrote:


> ---Quote---
> > When this file exists and I do a *dir, that one line is rendered as if
> the
> > font size were reduced by about 30%. As I start to mouse-mark over it,
> the
> > marked region is normal size until I come to the unicode character, and
> ---End Quote---
> then
>
>
> ---Quote---
> > the rendering goes back to the reduced size. The marked region captures
> > what ought to be captured, not what is visibly captured.
> ---End Quote---
> This can't have anything to do with DIR. It is most likely a font issue --
> what font(s) are you using in your (hidden) console window and in TCMD?
>
>
>
>
>



--
Jim Cook
2010 Mondays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Tuesday.
 
May 20, 2008
603
0
Sammamish, WA
I enabled unicode output and created a unicode text file with the output
from *dir. Using both WordPad and UltraEdit editors, I see similar odd
behavior.

Clearly, there's some generic font rendering issue that is not JPSoft's
fault.

Sorry for the initial pointed finger. I stand corrected.

On Tue, Feb 22, 2011 at 09:55, Jim Cook <> wrote:


> I just downloaded the newest DejaVu font from sourceforge for my TCMD
> window. How do I find out the font in the hidden console?
>
> On Tue, Feb 22, 2011 at 09:45, rconn <> wrote:
>
>
>
> ---Quote---
> > ---Quote---
> > > When this file exists and I do a *dir, that one line is rendered as if
> > the
> > > font size were reduced by about 30%. As I start to mouse-mark over it,
> > the
> > > marked region is normal size until I come to the unicode character, and
> > ---End Quote---
> > then
> >
> >
> > ---Quote---
> > > the rendering goes back to the reduced size. The marked region captures
> > > what ought to be captured, not what is visibly captured.
> > ---End Quote---
> > This can't have anything to do with DIR. It is most likely a font issue
> --
> > what font(s) are you using in your (hidden) console window and in TCMD?
> >
> >
> >
> >
> >
> ---End Quote---
>
>
> --
> Jim Cook
> 2010 Mondays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
> Next year they're Tuesday.
>
>
>
>
>



--
Jim Cook
2010 Mondays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Tuesday.
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
> I just downloaded the newest DejaVu font from sourceforge for my TCMD
> window. How do I find out the font in the hidden console?

Start a console window (or detach the TCC tab window), click on the icon on
the title bar, then select Preferences/Font. If you're not using a Unicode
font (for example, if you're using Raster Fonts), bad things are going to
happen when you try to display Unicode characters.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
---- Original Message ----
From: rconn
| Quote:
| If you're not using a Unicode font (for example, if you're using Raster Fonts),
| bad things are going to happen when you try to display Unicode characters.

How is one to know whether or not a particular font is a Unicode one?
--
Steve
 
Similar threads
Thread starter Title Forum Replies Date
E Fixed Bug with DIR /Z displaying descriptions Support 8
J Paths shown in DIR /B Support 2
K Fixed Prompt display will be shifted after use dir to display a filename with Chinese. (v25.00.28 x64) Support 18
Jesse Heines How to? How to display picture creation date with dir command Support 6
vefatica WAD DIR.BTM? Support 11
DrusTheAxe DIR reports meaningless SYMLINK information Support 14
C show file description? with dir? Support 8
vefatica DIR /F and streams? Support 7
rps Multi-column DIR /v not displaying all files. Support 5
R How to? Dir specific file search patterns with spaces in the pathnames? Support 6
rps Dir /Nfv -> Alt-F2 Support 2
rps @FILESIZE[....,a] allocated size not matching Dir results Support 8
A TCMD - Dir Command puts out blank lines? Support 16
S Problems with dir command in the debugger Support 5
M TCC incorrect dir output since Windows 1803 Support 6
x13 Problem listing repository files using DIR http(s)://... Support 8
cxxl dir /s works in mysterious ways :( Support 4
vefatica Help nit (FFIND and DIR with /S) Support 0
N Fixed Strange dir behavior Support 6
JohnQSmith Weird DIR output (missing lines) Support 1
C 7zip with date range .vs. filelist created with dir and daterange Support 0
D Towards shared (dir-)history lists Support 3
vefatica WAD DIR /HL still gets names wrong Support 16
vefatica DIR /S /HL? Support 4
H Fixed DIR /G returns wrong sizes Support 2
nickles WAD dir.htm Support 2
vefatica DO dir in /s /a:+d /d"g:\" * ( ... ) Support 26
vefatica DIR \\.\...? Support 4
M Fixed DIR /S /B1 ignores "/S" Support 5
C tcmd.ini not loading from program dir? Support 5
D Fixed Dir /Nm:n has changed Support 1
rps How to? dir /s unexpected results Support 10
vefatica Update to current install dir? Support 8
cgunhouse Problem with "dir /=" Support 4
T dir /h error in empty directory Support 22
P WAD TC 15.0.1.58 x64 crasches with a simple dir command Support 18
CWBillow dir /4 strange Support 2
samintz WAD DIR /B1 and /X Support 2
nickles dir behaves inconsistently Support 5
vefatica DIR, streams, and wildcards? Support 1
vefatica DIR /: /u ... streams not counted? Support 7
vefatica Documentation DIR /B /S /: Support 2
samintz How to? DIR listing for exact match Support 1
dcantor WAD dir "ftp:// ..." fails in TCC 15 Support 7
T How to? dir/pdir - 2nd level down only Support 7
MikeBaas How to? DIR: supress extensions? Support 5
old coot dir /s dies on my C: drive Support 2
A WAD Dir daterange + multiple path wildcards crashes tcc Support 2
old coot TC DIR command has trouble on my SSD Support 2
M Fixed character set in dir/copy Support 3

Similar threads