# Passing special characters to swf so.addVariable won't work

**URL:** <https://forum.kirupa.com/t/passing-special-characters-to-swf-so-addvariable-wont-work/307861>\
**Category:** Uncategorized\
**Created:** [April 12, 2010, 12:26pm UTC](https://forum.kirupa.com/t/passing-special-characters-to-swf-so-addvariable-wont-work/307861 "2010-04-12T12:26: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:** [April 12, 2010, 12:26pm UTC](https://forum.kirupa.com/t/passing-special-characters-to-swf-so-addvariable-wont-work/307861/1 "2010-04-12T12:26:18Z")

</div>

Hi,

I have a few variables that I need to pass to Flash,

so.addVariable(“var4”,“créer”);

I read that I can do this by using this:  
so.addVariable(“var4”,encode(“créer”));

but that won’t work either… the é gets replaced by FFFD instead.

Who can point me in the right direction please ?

grtz,  
ToM.
