Jump to content

[SOLVED] My project is in spanish, letters ó,í,é arent displayed back from mysq


nightkarnation

Recommended Posts

Ok... the ó,í,é etc...are saved perfectly to mysql (from php) ... but when i want to retreive them with php...this is where the ó,í,é,á are lost and not being displayed...

 

What should i do to fix this? or what am i doing wrong?

 

Thanx in advance!

Cheers,

It "eats" the word...for example:

 

No pidas perdón, soldado

Its displayed like this: No pidas perd�soldado

 

PHP:

 

//retrieve all the data from the selected article
if ($action == "loadSelectedArticle")
{

$title=$_POST['txtTitle'];

        $result = mysql_query("SELECT title, article_spanish, article_english FROM videla_articles WHERE title = '$title'"); 
        $cant = 0; 
        while($row=mysql_fetch_array($result)){ 
            echo "title$cant=$row[title]&article_spanish$cant=$row[article_spanish]&article_english$cant=$row[article_english]&"; 
            $cant++; 
        } 
        echo "cant=$cant"; 
}

 

FLASH (resumed):

 

txtArticleTitle.text = content_lv.article_spanish0;

 

Other important info...im using now, times new roman and/or arial (just in case) im also embedding on flash the "special characters" ó,í,é,á <-- so its not that.

 

Any ideas?

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.