# Problem with Dynamic Greek Text!

**URL:** <https://forum.kirupa.com/t/problem-with-dynamic-greek-text/263313>\
**Category:** Uncategorized\
**Created:** [June 14, 2008, 11:10am UTC](https://forum.kirupa.com/t/problem-with-dynamic-greek-text/263313 "2008-06-14T11:10:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spyros](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@spyros](https://forum.kirupa.com/u/spyros)\
**Post date:** [June 14, 2008, 11:10am UTC](https://forum.kirupa.com/t/problem-with-dynamic-greek-text/263313/1 "2008-06-14T11:10:39Z")

</div>

Hello  
I am having some problems with greek characters in flash.  
The flash is calling dynamic text from a database.  
The problem is that the greek characters are not readable.  
The strange thing is that in windows is working just fine the problem is on macintosh.  
Please help !!!  
Thank you

Actionscript

```auto

myData = new LoadVars();
_global.katiurl = ""
function displayCustomData ( id ) {
    myData.load("../tb2/tb1.php?id="+id)
    myData.ref = this
    myData.onLoad = function(succes){
        if(succes){
            
            kartelan.Lektiko.text = this["Title0"]
            kartelan.Hospital.text = this["Hospitals0"]
            kartelan.HCentre.text = this["HCentres0"]
            kartelan.CClinics.text = this["CClinics0"]
            kartelan.PHospitals.text = this["PHospitals0"]
            kartelan.DCentre.text = this["DCenters0"]
        } else {
            kartelan.Lektiko.text = "--"
        }
    }
    stop()
}

```

PHP script

```auto

<?php
$connect = mysql_connect("localhost", "gggs_useddfr", "asdasdas");
mysql_select_db("gggs_asds", $connect);
$query = mysql_query('set character set greek');

//$result = mysql_query("SELECT Title, Comments, Image FROM titles");
$result = mysql_query("SELECT name, hospitals, heathcenters, communityclinics, privatehospitals, diagnosticcenters FROM categories where cid =".$id);
$cant = 0;
while($row=mysql_fetch_array($result)){
    echo "Title$cant=$row[name]&Hospitals$cant=$row[hospitals]&HCentres$cant=$row[heathcenters]&CClinics$cant=$row[communityclinics]&PHospitals$cant=$row[privatehospitals]&DCenters$cant=$row[diagnosticcenters]&";
    $cant++;
}
echo "cant=$cant";
?>

```
