1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to convert all my site from iso-8859-1 to UTF-8?

Discussion in 'General Scripting Chat' started by luizeba, Nov 11, 2009.

  1. luizeba

    luizeba Regular Member

    Joined:
    Dec 24, 2008
    Messages:
    458
    Likes Received:
    174
    Occupation:
    Studant
    Location:
    Brazil
    Hello mates...


    I'm converting all my sites from differents characters-types to UTF-8, to be able to manage all the sites under the same script...


    But well my main problem is with my site who use ISO-8859-1...it's a portuguese one...


    It has too much content to I re-add everything again...



    Is there a easy way, with PHP, MySQL or something like that, to convert all my site from ISO-8859-1 to UTF-8? Then I just change the "Character-Type" meta-tag, and everything is done...

    Thanks guys!
    Luiza =)
     
  2. showboytridin

    showboytridin Regular Member

    Joined:
    Sep 5, 2009
    Messages:
    348
    Likes Received:
    714
    Location:
    127.0.0.1
    In Linux (and maybe windows or mac) you can copy the content of the ISO-8859-1 to a blank document and then save as utf-8. Works fine. However, for portuguese websites it 's recommended ISO-8859-1.