UTF-8 on Windows



Hey,

I am writing a gawk script to parse some files encoded using
en_US.UTF-8 and writing the output to another file.

My script is able to parse the files correctly, but the output of the
script is in ANSI character set instead of UTF-8. How can I get the
output in UTF-8?

I am using Gawk version 3.0.3.

Thanks,

Sam
.



Relevant Pages

  • Re: Reading XML files
    ... I am currently writing a script which should parse a xml file and read ...
    (microsoft.public.scripting.vbscript)
  • Re: UTF-8 on Windows
    ... I am writing a gawk script to parse some files encoded using ... My script is able to parse the files correctly, ... I am using Gawk version 3.0.3. ...
    (comp.lang.awk)
  • Re: Email Filter Script
    ... It seems that the E-mails are piped to the script so I shouldn't need ... After the sample e-mail, I've included my original test script. ... Subject: Writing Center, Fall 2010 ... student population. ...
    (perl.beginners)
  • Re: [WR] round tuits
    ... Jackson Pillock wrote: ... I do, too many projects going, not enough time, priorities lean toward ... I started writing a precinct drama set in a locked psychiatric ward. ... Sent off my script. ...
    (misc.writing)
  • Re: crisis Perl
    ... As to writing good code to begin with, ... the top of the script. ... the "use warnings;" line won't actually change ... recommended declaring variables IN AS SMALL AS SCOPE AS POSSIBLE. ...
    (comp.lang.perl.misc)