Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: UTF-8 mapping CSV file

by Tux (Canon)
on Aug 08, 2018 at 11:49 UTC ( [id://1220080]=note: print w/replies, xml ) Need Help??


in reply to UTF-8 mapping CSV file

Why did you not post any example code of how you "parse" this CSV file? Does the CSV file contain a Byte-Order-Mark? Do you use a parsing module?

CSV files do not have any means of "storing" the encoding other than having a BOM, which does not support all known encodings. The sender should tell you what the encoding is. Guessing is fragile.


Enjoy, Have FUN! H.Merijn

Replies are listed 'Best First'.
Re^2: UTF-8 mapping CSV file
by newperlbie (Acolyte) on Aug 08, 2018 at 12:39 UTC
    I use use Text::CSV; yes,talking to the provider of the file!thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1220080]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-19 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found