1 Reply Latest reply: Aug 14, 2009 4:01 AM by 843789 RSS

    Output file in ANSI Encoding.


      I have created a serch and replace program which works fine with normal text files.

      But it doesn't work with oracle database dump files because I think they are ANSI encoded.

      Can someone body please point me in the right direction.

      My program;

      Gets source file

      Gets find and replace strings.

      Makes a copy of the source file saves all the replaced matched sequences in the new file.
        • 1. Re: Output file in ANSI Encoding.
          Your problem is most likely an encoding problem.

          Unfortunately there is usually no automated way to solve this unless you have a way to know the encoding of all your input files.

          Read [this excellent introduction into Unicode|http://www.joelonsoftware.com/articles/Unicode.html] for an explanation.