ISO to UTF-8

Discussion in 'HTML & Website Design' started by Dazed_and_confused, Dec 23, 2005.

  1. #1
    My site's encoding is iso-8857-7. Is there any way to change it to utf-8 without these ???? symbols?

    * iso-8857-7 is greek language
    ** utf-8 supports greek
     
    Dazed_and_confused, Dec 23, 2005 IP
  2. the_pm

    the_pm Peon

    Messages:
    332
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you're using character entities, you should simply be able to switch your character set declaration to utf-8 in your meta info and that should be that!
     
    the_pm, Dec 23, 2005 IP
  3. FeelLikeANut

    FeelLikeANut Peon

    Messages:
    330
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Well, if you're going to use all character entities then there is no sense in declaring the character to set to be anything beyond ASCII.

    Dazed_and_confused, the two character encodings use different bit patterns to represent the same characters. That is why you are getting ???? symbols. Bit patterns that are valid iso-8857-7 characters are not necessarily a utf-8 character. You will have to open the HTML document in some text editor and resave the file, specifically selecting UTF-8 as the character encoding it should use.
     
    FeelLikeANut, Dec 23, 2005 IP
    the_pm likes this.
  4. the_pm

    the_pm Peon

    Messages:
    332
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Blah, you're right. I'm a wee bit sleep deprived at the moment :p
     
    the_pm, Dec 23, 2005 IP
  5. Dazed_and_confused

    Dazed_and_confused Well-Known Member

    Messages:
    2,071
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    120
    #5
    great, i Used editplus and the utf convertor worked.
    Now i have problem when i'm trying to take data in greek from a database. :(
     
    Dazed_and_confused, Dec 24, 2005 IP
  6. FeelLikeANut

    FeelLikeANut Peon

    Messages:
    330
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Do you know what character encoding your database uses?
     
    FeelLikeANut, Dec 24, 2005 IP
  7. Dazed_and_confused

    Dazed_and_confused Well-Known Member

    Messages:
    2,071
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    120
    #7
    iso-8857-7
     
    Dazed_and_confused, Dec 24, 2005 IP
  8. Dazed_and_confused

    Dazed_and_confused Well-Known Member

    Messages:
    2,071
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    120
    #8
    Dazed_and_confused, Dec 26, 2005 IP