# Level problems

**URL:** <https://forum.kirupa.com/t/level-problems/19218>\
**Category:** Uncategorized\
**Created:** [April 25, 2003, 12:16pm UTC](https://forum.kirupa.com/t/level-problems/19218 "2003-04-25T12:16:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mooler](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@mooler](https://forum.kirupa.com/u/mooler)\
**Post date:** [April 25, 2003, 12:16pm UTC](https://forum.kirupa.com/t/level-problems/19218/1 "2003-04-25T12:16:22Z")

</div>

Hi I started another topic about this but without success. I might have been a little blurry about what I meant.🙂

So this time I´ll try to me more specific (if that´s possible)

I have a guestbook (and have read alot about this problem in forums but it doesn´t seem to fit in on my problem) That have problems with special characters.

In this link

[http://www.cema.se/temp/test/GuestBook.html](http://www.cema.se/temp/test/GuestBook.html)

it works fine with äåö letters

but when I load it into another level (level3) it looks like this

[http://www.cema.se/temp/test/level/](http://www.cema.se/temp/test/level/)

the only thing that I have change in the fla in the second one i the loadVariableNum to fit level3!

Have tried the  
System.UseCodePage=true;  
it works when I load text straight from a textfile but not in my guestbook case.

I´m on my 4 day and running in front of my comp and do not have a lot of hair left on my abused head so please help out :sigh:

I´m attaching my files I this desperate last cry for help…

---

<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:** [April 25, 2003, 12:44pm UTC](https://forum.kirupa.com/t/level-problems/19218/2 "2003-04-25T12:44:24Z")

</div>

i can help you with your special characters problem,

i assume you are using php to retrieve the data.

its possible to encrypt your text to html code to make sure the special characters will work, and for your luck, flash can read that html code 🙂

he’s an example on how to encrypt your text

```php

<?
$text = "héhé haha";
$text = urlencode($text);
echo $text
?>

```

will give you this output:  
h-&-e-a-c-u-t-e-;-h-&-e-a-c-u-t-e-;-±h-a-h-a-  
(remove all “-”, else this forum would decrypt it to)

flash can read this and will use the decrypted text imidiatly if you enable html code on your text field 🙂

it worked on my own guestbook to:

[Here](http://www.vdschee.nl/~RvGate/rvgate/phptest/editplus/gastenboek/gastenboek.html)

---

<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:** [April 25, 2003, 1:28pm UTC](https://forum.kirupa.com/t/level-problems/19218/3 "2003-04-25T13:28:53Z")

</div>

Ok that sounds great if there´s a solution 🙂

But I´m pretty new to PHP and don´t now where in the code I should put the code you wrote. Please (I know I´m beeing annoying) but could you give me an example in my PHP-file and attach it so I can se it how it´s done.

Thanks for replying I´m getting new hope :beam:

---

<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:** [April 25, 2003, 1:32pm UTC](https://forum.kirupa.com/t/level-problems/19218/4 "2003-04-25T13:32:52Z")

</div>

Oh and is it possible to encrypt more letters at the same time in the code like this

```php
<?
$text = "äåöÄÅÖ";
$text = urlencode($text);
echo $text
?>

```

Is that how it´s done?

---

<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:** [April 25, 2003, 1:33pm UTC](https://forum.kirupa.com/t/level-problems/19218/5 "2003-04-25T13:33:31Z")

</div>

yeah

---

<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:** [April 25, 2003, 1:39pm UTC](https://forum.kirupa.com/t/level-problems/19218/6 "2003-04-25T13:39:56Z")

</div>

Ok I´m on it I´ll get back to you if I won´t get it to work 🙂

---

<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:** [April 25, 2003, 1:50pm UTC](https://forum.kirupa.com/t/level-problems/19218/7 "2003-04-25T13:50:59Z")

</div>

I´m really sorry man but I can´t get it to work?!

Could you please attach an example of the code in my php-file I know this sound like I´m leeching of of you but I really can´t figure this out :hangover:
