# Problems with #include, international characters and external txt file

**URL:** <https://forum.kirupa.com/t/problems-with-include-international-characters-and-external-txt-file/122488>\
**Category:** Uncategorized\
**Created:** [September 14, 2004, 7:02am UTC](https://forum.kirupa.com/t/problems-with-include-international-characters-and-external-txt-file/122488 "2004-09-14T07:02:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nell](https://avatars.discourse-cdn.com/v4/letter/n/e480ec/32.png) [@Nell](https://forum.kirupa.com/u/Nell)\
**Post date:** [September 14, 2004, 7:02am UTC](https://forum.kirupa.com/t/problems-with-include-international-characters-and-external-txt-file/122488/1 "2004-09-14T07:02:37Z")

</div>

Hi,

I created an animation that displays external data from a txt file, based on this [tutorial](http://www.kirupa.com/developer/mx/externaldata.htm). Mine is a little different, because I created 3 different text boxes for different moments of the timeline.

It worked fine, but all the international characters were weird. I found this other [tutorial](http://www.kirupa.com/developer/mx/international_characters.htm). The [COLOR=RoyalBlue]System.useCodePage=true;[/COLOR] method doesn’t work, because it won’t display the special characters if the user’s OS is in English (as mine is).

I tried to do it the other way, saving the file with Unicode encoding. However, I must to use #insert instead of using the following:

```auto
loadText = new LoadVars();
loadText.load("data.txt");
loadText.onLoad = function() {
    text1.text = this.text1;
    text2.text = this.text2;
    text3.text = this.text3;
};

```

Now the text doesn’t load. I’m also loading links from the text file into 3 buttons, and the links work fine.

I’d appreciate any help 🐇  
Thanks!
