# Font rendering from mysql db

**URL:** <https://forum.kirupa.com/t/font-rendering-from-mysql-db/237980>\
**Category:** Uncategorized\
**Created:** [September 6, 2007, 1:19am UTC](https://forum.kirupa.com/t/font-rendering-from-mysql-db/237980 "2007-09-06T01:19:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom314](https://avatars.discourse-cdn.com/v4/letter/t/a698b9/32.png) [@tom314](https://forum.kirupa.com/u/tom314)\
**Post date:** [September 6, 2007, 1:19am UTC](https://forum.kirupa.com/t/font-rendering-from-mysql-db/237980/1 "2007-09-06T01:19:18Z")

</div>

Hi,

I’m working on a project where I fill textboxes in Flash with content from a mysql db. This is working pretty fine, but somehow characters like “é” and “è”, “ë” etc… aren’t displayed.

I made sure the font is included (uppercase, lowercase, numerals AND punctuation) and I included the specified characters again with the “include these characters-box”.

However, when I put a trace-command, they don’t appear in the output-box:  
Italië comes out as : “Itali�i”

It’s got something to do with the mysql-collocation I’m guessing and/or the string handling by the php-script. This is what I do:

```php

$output=NULL;
	while($w = mysql_fetch_object($r)) {
		  $output .= '<font color="#FDEACE" size="12">'. nl2br(stripslashes(ereg_replace("\r",'',$w->content))). '</font><br />';
	}
	$output = urlencode($output); // zorg voor veilig netwerk transfer naar flash
	
	echo '&r=1&b='.urlencode('nieuws succesvol opgehaald'). '&n=' . $output . '&';

```

anybody know where the fault lies or give me a pointer in the right direction ?
