0 Replies Latest reply: Oct 4, 2013 2:25 AM by Teemu Pitkänen RSS

    Setting codepage dynamically

    Teemu Pitkänen

      Hi,

       

      I have a bunch of CSV files in one folder and it seems that some of them are encoded in Unicode and some are ANSI. Is there a way to make a script so that it dynamically determines the right "codepage is xxx" in the script? I was thinking that I could just disable errors for that part of the script and load the data by using both codepages but it's something I really don't want to do. Not sure if it even works though.

       

      Any ideas?

       

      -Teemu