FFIND and LIST does not work for UTF-8 fles

Sep 10, 2009
40
0
Hi.

I just have a UTF-8 files with BOM.
TCM 12.1 FFIND does not find any text in it, and LIST shows an empty screen.

I atteched the file.
Whats this?

I tried to shorten the file, but TCMD seams to stop at a specific character. Even FFIND find noting and LIST shows nothing.
 
Sep 10, 2009
40
0
TCC does not support UTF-8, only ASCII and UTF-16.

(The IDE editor *does* support UTF-8, so you could start it and view the files.)

OK. But even I wonder why display of LIST is just "blank black page" and why TCC doesn't treat the file as plain text file.

I just wanted to search a plain text like this
FFIND /T"test" myfile.txt
And "test" is part of the file. Why it doesn't work.

OK if i would have used umlauts like äüö I would understand it.
 

rconn

Administrator
Staff member
May 14, 2008
12,369
150
OK. But even I wonder why display of LIST is just "blank black page" and why TCC doesn't treat the file as plain text file.

I just wanted to search a plain text like this
FFIND /T"test" myfile.txt
And "test" is part of the file. Why it doesn't work.

OK if i would have used umlauts like äüö I would understand it.

I'd have to see the file (which was not attached in your first message). There may be embedded nulls or ^Z's.
 
May 30, 2008
80
0
Gerakas, Greece
TCC does not support UTF-8, only ASCII and UTF-16

Perhaps you should consider supporting them (in the next version or the one after - I'm guessing you might skip version 13 for obvious reasons :)), as they are the most common encoding in my experience after ASCII/ANSI.
 

rconn

Administrator
Staff member
May 14, 2008
12,369
150
Perhaps you should consider supporting them (in the next version or the one after - I'm guessing you might skip version 13 for obvious reasons :)), as they are the most common encoding in my experience after ASCII/ANSI.

Common in Linux systems, but definitely not in Windows systems. (As evidenced by the fact that it took 15 years for somebody to ask about it!)

If someone wants to suggest it in the Feedback forum, I'll consider it for the next version.
 
Sep 10, 2009
40
0
Common in Linux systems, but definitely not in Windows systems. (As evidenced by the fact that it took 15 years for somebody to ask about it!)

If someone wants to suggest it in the Feedback forum, I'll consider it for the next version.

Even if it took 15 years for somebody asking for it, it is a common problem. For me as a programmer more and more files are encoded in such a way.

I just wrote a suggestion.
http://jpsoft.com/forums/showthread.php?p=14653#post14653
 
Similar threads
Thread starter Title Forum Replies Date
J ffind does not find files Support 4
D ffind hangs on large file Support 18
Alpengreis ffind dialog (/W) problem Support 4
vefatica FFIND, temp files? ... not deleted? Support 0
S FFIND text that includes " Support 7
D ffind /e hangs Support 7
vefatica FFIND needs work Support 12
Joe Caverly Multiple Text Searches at once using FFIND or TPIPE Support 4
Kachupp FFIND TPIPE Support 9
Gamegod ffind bug with chinese Support 2
vefatica FFIND and multi-line regular expressions Support 4
vefatica Make FFIND a bit more friendly? Support 14
M Trying to use ffind with a @file.lst doesn't work Support 4
vefatica Corruption from FFIND? Support 5
vefatica FFIND /S and System32? (and an OT mystery) Support 14
T FFind - can we display n number of lines after the find? Support 2
vefatica Help nit (FFIND and DIR with /S) Support 0
R ffind not setting %_ffind_ vars if /f is used Support 7
M FFIND wordA AND wordB Support 4
vefatica FFIND and _? Support 1
B Fixed FFIND doesn't find last character in file without CR/LF at EOF Support 1
dcantor How to make line numbers fixed width in FFIND Support 11
vefatica FFIND /S, find directory with specified name? Support 7
D Why doesn't ffind find directory? Support 3
C FFind /w works but FFind /= doesn't? Support 2
vefatica FFIND goes crazy Support 8
Stefano Piccardi TCC 13 vs. TCC 14 different FFIND /E"d$" output Support 1
Steve Pitts How to? FFIND, regular expressions and double quotes Support 4
vefatica FFIND /S in my profile directory Support 2
A How to? Pass output from ffind to another command in a BTM file Support 5
Phileosophos Can FFIND match file names with a regular expression? Support 19
vefatica FFIND and size ranges Support 1
R How to use ffind to find older files? Support 9
J How do I - ffind - with multiple items Support 10
C FFIND ERRORLEVEL Support 2
L FFIND no result display Support 10
H Directory wildcards not working with ffind Support 3
D ffind and directories Support 2
Stefano Piccardi detecting BOM, FFIND multibyte regex Support 18
dcantor FFIND syntax -- is /E"regex" /X supported? Support 2
S FFIND and quoted strings Support 4
S FFIND /E"reg exp" : not case insensitive Support 4
J Problem with FFIND Support 1
FreezerBurnt ANSI Prompt messes up list output. Support 39
Phileosophos PDIR to list filenames without extensions? Support 2
T Is there a way to maintain the position in the environment list, while debugging? Support 10
Alpengreis List command: text truncated in find box (german) Support 9
L LIST's pop-up search loses focus in a Windows Terminal window Support 15
A List windows with titles matching given pattern? Support 2
C How to make list of drive contents when shutdown PC / Everything.exe Support 7

Similar threads