# How to load special characters

**URL:** <https://forum.kirupa.com/t/how-to-load-special-characters/34704>\
**Category:** flash\
**Created:** [November 5, 2003, 11:52am UTC](https://forum.kirupa.com/t/how-to-load-special-characters/34704 "2003-11-05T11:52:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danke](https://avatars.discourse-cdn.com/v4/letter/d/0ea827/32.png) [@Danke](https://forum.kirupa.com/u/Danke)\
**Post date:** [November 5, 2003, 11:52am UTC](https://forum.kirupa.com/t/how-to-load-special-characters/34704/1 "2003-11-05T11:52:48Z")

</div>

Hi !

Being from Norway there’s important for me that my Flash application load special characters like æ,ø,å.

How do i load them with loadvars();

When I’ve loaded the variables from the page, and access them, i only get the string before the special character loaded.

I’ve tried to return them with e.g. å which doesn’t help me at all…

My Example code:

var d = new LoadVars();  
d.onLoad = showValues;  
d.load("\<somesitewhichreturnssomething\>");

function showValues()  
{  
trace(this);  
trace(this.var1);  
trace(this.var2);  
}

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 5, 2003, 12:45pm UTC](https://forum.kirupa.com/t/how-to-load-special-characters/34704/2 "2003-11-05T12:45:09Z")

</div>

The best way to load them to to convert them to their URL encoded values! I think there are softwares out there taht will accomplish this task for you and free too! If you want to know about URL encoded values try typing your special characters on your browser’s address bar and press enter! All special characters will then be converted to their equivalent URL encoded values! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 5, 2003, 1:01pm UTC](https://forum.kirupa.com/t/how-to-load-special-characters/34704/3 "2003-11-05T13:01:56Z")

</div>

It still doesn’t help.

Tried to write a little asp-script:

\<%  
s = “Drøbak"  
s = replace(s,“ø”,”%F8")  
response.write(“var1=” & s")  
%\>

When i load this into flash the LoadVar still returns “Dr” instead of “Drøbak.”
