Fellow Perlmonks...

I have come across an issue when pulling data down from a site using UTF-8 character sets. The side might have a line like this: "something something Resistance Ω"

Now when I pull it down and put it into a database it gives me "funky symbols." What character set does perl use? At this point it doesn't help me to go back and regrab the content and convert it... theres 230K pages and its already in a database which used latin-1 charset (I've since converted it to UTF-8 in an attempt to fix my issue to no avail) I'm pulling it out with php to do some work on it, but I think if I knew what perl might have done with it I might have more success converting it.

Any thoughts? To be completely honest I could be barking up the wrong tree and it might have nothing to do with perl converting it at all... but I'm running out of ideas here.

Thanks for any and all help


In reply to A Character Set Enquiry by Godsrock37

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.