Torgeir Bakken \(MVP\) said:
Hi
This will convert from unicode to ascii:
type log.unicode >log.ascii
Hi Torgeir,
that doesn't meet my experience. I saved op's text with textpad as
unicode and see the output:
==screen=copy========================================================
C:\Test>type unicode.txt
a m t r y i n g t o u s e m s i n f o 3 2 c o m m a n d l i n e s t o g a t h e r i n f o
a b o u t o u r 1 0 0 + s e r v e r s . I c a n g e t t h e t e x t f i l e s o u t b u t
w h e n I u s e M o n a r c h t o p u t t h e i n f o i n t o a t a b l e f o r m a t I
h a v e a p r o b l e m . T h e p r o b l e m c o m e s d o w n t o t h e o u t p u t o f
m s i n f o 3 2 b e i n g i n u n i c o d e f o r m a t a n d I n e e d i t t o b e i n
a n s i f o r m a t . I s t h e r e a n a p p r o p r i a t e s w i t c h f o r m s i n f o 3 2
o r s o m e o t h e r w a y o f c o n v e r t i n g t h e o u t p u t f r o m a u n i c o d e
f o r m a t t e d t e x t f i l e t o a n a n s i f o r m a t t e d t e x t f i l e ?
C:\Test>more unicode.txt
I am trying to use msinfo32 command lines to gather info
about our 100+ servers. I can get the text files out but
when I use Monarch to put the info into a table format I
have a problem. The problem comes down to the output of
msinfo32 being in unicode format and I need it to be in
ansi format. Is there an appropriate switch for msinfo32
or some other way of converting the output from a unicode
formatted text file to an ansi formatted text file?
C:\Test>
==screen=copy=========================================================
So I recommend more for this task. If you want to convert the file you
might use a port of unix recode:
http://recode.progiciels-bpi.ca/