1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FFIND and LIST does not work for UTF-8 fles

Discussion in 'Support' started by MartinRichter, Apr 5, 2011.

  1. MartinRichter

    Joined:
    Sep 10, 2009
    Messages:
    26
    Likes Received:
    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.
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,806
    Likes Received:
    82
    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.)
     
  3. MartinRichter

    Joined:
    Sep 10, 2009
    Messages:
    26
    Likes Received:
    0
    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.
     
  4. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,806
    Likes Received:
    82
    I'd have to see the file (which was not attached in your first message). There may be embedded nulls or ^Z's.
     
  5. MartinRichter

    Joined:
    Sep 10, 2009
    Messages:
    26
    Likes Received:
    0
    The file is large. The attachment don't allow such big files.
    If I remove contents TCC shows it... :-(
     
  6. gschizas

    Joined:
    May 30, 2008
    Messages:
    81
    Likes Received:
    0
    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.
     
  7. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,806
    Likes Received:
    82
    Email it to me at support@jpsoft.com.

    Rex Conn
    JP Software
     
  8. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,806
    Likes Received:
    82
    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.
     
  9. MartinRichter

    Joined:
    Sep 10, 2009
    Messages:
    26
    Likes Received:
    0
    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
     
  10. K_Meinhard

    Joined:
    May 20, 2008
    Messages:
    311
    Likes Received:
    0
    Hallo MartinRichter,


    I think Rex meant the new Feedback forum you reach when you click on the orange Feedback button to the left of the JP homepage...

    herzliche Grüße,

    Klaus Meinhard
     
  11. MartinRichter

    Joined:
    Sep 10, 2009
    Messages:
    26
    Likes Received:
    0
    Upps. Sorry!
     

Share This Page