# French Characters in ComboBox Component

**URL:** <https://forum.kirupa.com/t/french-characters-in-combobox-component/295216>\
**Category:** flash\
**Created:** [August 26, 2009, 7:46pm UTC](https://forum.kirupa.com/t/french-characters-in-combobox-component/295216 "2009-08-26T19:46:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cortezcreations](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@cortezcreations](https://forum.kirupa.com/u/cortezcreations)\
**Post date:** [August 26, 2009, 7:46pm UTC](https://forum.kirupa.com/t/french-characters-in-combobox-component/295216/1 "2009-08-26T19:46:47Z")

</div>

I have searched high and low on this one and there are many different answers and suggestions.  
I am loading my text in via XML. I have made sure that it is UTF8 encoded.  
For any other dynamic text I would simply embed the characters I need.

So far I can change the colour and the size of the text in the combobox but just can’t seem to figure out how to embed the french characters I need in there.  
I have created my own font and embedded the characters I need into a dynamic text field on the stage. The created font is named “appfont”

```auto
test.text=myXML.firstChild.childNodes[0].attributes.name;
myCB.addItem({data: 2, label: "Chose a University"});
myCB.dropdownWidth = 212;
myCB.setStyle("fontSize", "11");
myCB.setStyle("color", 0xFF0000);
myCB.textField.setStyle ("fontFamily", appfont) 
;
myCB.getFocus();

```

Any relevant links, suggestions or solutions would be greatly appreciated as I’ve been banging my head on this one all night.
