# Txt files and special letters

**URL:** <https://forum.kirupa.com/t/txt-files-and-special-letters/97637>\
**Category:** Uncategorized\
**Created:** [December 26, 2003, 5:20pm UTC](https://forum.kirupa.com/t/txt-files-and-special-letters/97637 "2003-12-26T17:20:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SuperPhil](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@SuperPhil](https://forum.kirupa.com/u/SuperPhil)\
**Post date:** [December 26, 2003, 5:20pm UTC](https://forum.kirupa.com/t/txt-files-and-special-letters/97637/1 "2003-12-26T17:20:52Z")

</div>

Hi All,

I used kirupa’s tutorial to dynamically load text from a txt file.

I put the following code into frame 1:

```
loadText = new LoadVars();
loadText.onLoad = onText;
 loadText.load("TEXTPERSO.txt");

```

function onText () {  
// QuotesBox.html = true;  
QuotesBox.htmlText = this.myNews;  
}

and I added the following variable into my txt file:

myNews=blah blah

This works fine as long there is no special caracter such +, é, etc.  
Do you knwo a work around to fix this and display all the caracters includ in my txt file?

Regards,  
Phil
