How to detect if a file contains unicode characters ?

From: ieee std (ieeestd802_at_yahoo.com)
Date: 10/30/04


Date: 29 Oct 2004 16:07:31 -0700

Folks:

Let's say I have thousand text files, some might contains unicode
character (double byte), is there a simple way to detect it ? Is there
a simple command in Unix (or a system call) for this ?

Thanks in advance.



Relevant Pages

  • Re: Optimization of code
    ... external devices that take 8-bit character string commands. ... convert Unicode to ANSI. ... CStringA command; ... that and it could just assume Unicode for all strings, ...
    (microsoft.public.vc.mfc)
  • building a unicode character out of 2 cp1252 chars
    ... a unix with unwrapped tcl is this: ... (the bits in parens are unicode page indicators- thanks to Richard S. ... to build the unicode character by pasting together these ... 'binary' and 'encoding' but have yet to succeed. ...
    (comp.lang.tcl)
  • Re: How to remove a file with parenthesis in its name?
    ... The command looks like: ... There are three types of quoting: matched single quotes, ... On Unix, / is the directory separator character, ...
    (comp.unix.shell)
  • Re: How to remove a file with parenthesis in its name?
    ... The command looks like: ... There are three types of quoting: matched single quotes, ... On Unix, / is the directory separator character, ...
    (comp.unix.shell)
  • Re: Read File from vb.net
    ... >Some characters appears like squares when open this file with notepad. ... IF this is a Unix sources file then it is probable that the squares ... these in addition to the DOS/Win CR character. ... Other Unix variants should have a similar command. ...
    (microsoft.public.dotnet.languages.vb)