in reply to Re: Stupid UTF-8 issue with CSV file
in thread Stupid UTF-8 issue with CSV file

Thanks. I would assume they expect a UTF-8 format, although I can't say I've ever looked that deep into it. I did just do a google though, and can't believe I was so stupid! Sounds like Amazon wants ISO-8859-1 format, not UTF-8!!!!

http://stackoverflow.com/questions/17245206/uploading-amazon-inventory-utf-8-encoding

I'll give that a whirl now, and see how that works :)

Cheers

Andy

Replies are listed 'Best First'.
Re^3: Stupid UTF-8 issue with CSV file
by glasswalk3r (Friar) on Dec 05, 2016 at 20:00 UTC

    What happens if you force the file to be written as UTF-8?

    open(my $output, '>:utf8', $filename) or die "Cannot write $filename: +$!";

    Considering that the CVS data is in UTF-8, which is a good idea anyway unless you have restrictions for it.

    You should be using open with three arguments anyway, it is a good practice.

    Alceu Rodrigues de Freitas Junior
    ---------------------------------
    "You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill

      What he has is equivalent.