charset in php

Discussion in 'PHP' started by Waxxy, Mar 12, 2008.

  1. #1
    Hi,

    I having a bit of a problem with Russian characters. I'm building a sort of English into Russian Translator. The problem is that every time i enter and English word it outputs in as Question Marks. See for yourself, type ' and ' for something or ' abandon '
    http://cms-stu-iis.gre.ac.uk/cm541/index.php

    Ive set the collation to cp1251 in my database and that recognized the russian characters in there and i thought it would when i translate the word and it does not. I know i need to to set the charset in my php code, but i have no idea where and how to go about it.

    Can anyone help? :)

    Thank you
     
    Waxxy, Mar 12, 2008 IP
  2. CodyRo

    CodyRo Peon

    Messages:
    365
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #2
    CodyRo, Mar 12, 2008 IP