Loading ...
Sorry, an error occurred while loading the content.
 

Re: Module not parsing characters

Expand Messages
  • Roman Daszczyszak
    Can anyone help me with this? I really could use some help, even just some direction to where to look. Regards, Roman
    Message 1 of 2 , Jun 30, 2006
      Can anyone help me with this? I really could use some help, even just
      some direction to where to look.

      Regards,
      Roman

      > Hello all,
      >
      > The CSV file I mentioned in a previous email has characters (like é)
      > in it that the module Class::CSV cannot seem to parse. When I run my
      > script against a file that contains these types of characters, I get
      > an error:
      > Failed to parse line: blah,blahblah,somethingé,etc
      >
      > The error line above is all the information I have. I can post the
      > script to the file library if necessary (280+ lines).
      >
      > If I manually take out (or change é to an e) the offending character,
      > the script continues to run.
      >
      > My first question: Is this a failure on the part of the module
      > (Class::CSV) or perhaps with how Perl is configured on my system
      > (WinXP, ActiveState Perl 5.8.8 build 816) to process (or not) these
      > characters?
      >
      > Second question: Ignoring the possibility of a configuration issue, is
      > there a way to strip out these characters before Class:CSV sees them?
      >
      > Any help or guidance will be greatly appreciated.
      > Roman
    Your message has been successfully submitted and would be delivered to recipients shortly.