ascii to unicode problem when scraping websites

Discussion in 'PHP' started by Xexi, Nov 29, 2007.

  1. #1
    Does anyone know how to update the characters correctly when scraping websites?
     
    Xexi, Nov 29, 2007 IP
  2. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #2
    if you want to convert for any reason a page OR entire site from one charset configuration to another one, you may have to use common default procedures to convert charset - unless someone else knows a different solution ...
     
    hans, Nov 29, 2007 IP
  3. Xexi

    Xexi Well-Known Member

    Messages:
    91
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    100
    #3
    I figured it out, you need to add UDF-8 to the header to make it display correctly.
     
    Xexi, Nov 30, 2007 IP