Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: What to do when converting Excel-supplied data to Unicode

by davis (Vicar)
on May 23, 2006 at 13:51 UTC ( #551159=note: print w/ replies, xml ) Need Help??


in reply to What to do when converting Excel-supplied data to Unicode

Well, it's solved well enough for me. I treat the text as CodePage 1252, but before decoding it I fix some special cases such as the dash, a weird apostrophe-type character, and some others. The resulting XML is well-formed, the data in MySQL looks good, and the produced XHTML-strict is valid and compliant. I'm happy with that.


davis
Kids, you tried your hardest, and you failed miserably. The lesson is: Never try.


Comment on Re: What to do when converting Excel-supplied data to Unicode

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (13)
As of 2014-09-16 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (47 votes), past polls