Spanish cahracters not showing properly

hi everybody, i want to upload some news to a flash site from php and show them in dinamyc text boxes

the text shows well and everything is so beautiful but as some of you know spanish has a very few special characters that english dont, such as Ñ á,é,í,ó,ú,ä,ë,ï,ö,ü

instead of these characters i get squares, i guess there is some encoding option that im missing, ive been reading some tuts and tried changing the char range and playing with html property and textformat object but i dont get it to work

im sure someone has had this problem before but didnt have luck searching the forum either, any help will bw be appreciated

cheers