# Apostrophes Quotes

**URL:** <https://forum.kirupa.com/t/apostrophes-quotes/186227>\
**Category:** flash\
**Created:** [April 19, 2006, 10:32pm UTC](https://forum.kirupa.com/t/apostrophes-quotes/186227 "2006-04-19T22:32:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![skaiwayne2](https://avatars.discourse-cdn.com/v4/letter/s/ad7895/32.png) [@skaiwayne2](https://forum.kirupa.com/u/skaiwayne2)\
**Post date:** [April 19, 2006, 10:32pm UTC](https://forum.kirupa.com/t/apostrophes-quotes/186227/1 "2006-04-19T22:32:27Z")

</div>

When loading a text file how can I keep the apostrophe and quotes without the jibberish.

---

<div class="post-metadata">

**Author:** ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)\
**Post date:** [April 19, 2006, 10:33pm UTC](https://forum.kirupa.com/t/apostrophes-quotes/186227/2 "2006-04-19T22:33:56Z")

</div>

make the textfield an “html field”

or you can replace them again with php bewfore sending the text back to flash

---

<div class="post-metadata">

**Author:** ![cobrasniper555](https://avatars.discourse-cdn.com/v4/letter/c/838e76/32.png) [@cobrasniper555](https://forum.kirupa.com/u/cobrasniper555)\
**Post date:** [April 20, 2006, 1:56am UTC](https://forum.kirupa.com/t/apostrophes-quotes/186227/3 "2006-04-20T01:56:11Z")

</div>

Well…add a backslash before your quotes/apostraphies, and it will keep the apostraphy, you don’t need to make an html text or anything, you just add a quick “/” and you are set. Like, put this in your variable that is put into the text field:

```auto
"By puting in slashes, you can preserve /"These quotes/"";

```

---

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [April 20, 2006, 2:02am UTC](https://forum.kirupa.com/t/apostrophes-quotes/186227/4 "2006-04-20T02:02:33Z")

</div>

Err… I think the backslashes should go the other way. 😉

Anyways, use the html codes for proper quotes, and you will get best results. Not only do you not need to backslash-encode them, you also get “smart quotes,” which aren’t simple double-quotes, but have direction.

For a left curly quote, use [font=monospace][noparse]&#8220[/noparse];[/font], and for right, use [font=monospace][noparse]&#8221[/noparse];[/font].

Here’s more info: [http://www.dwheeler.com/essays/quotes-in-html.html](http://www.dwheeler.com/essays/quotes-in-html.html)

[whisper]Hehe, that guy has the same name as my dad… except for the middle name.[/whisper]

---

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [April 20, 2006, 2:03am UTC](https://forum.kirupa.com/t/apostrophes-quotes/186227/5 "2006-04-20T02:03:11Z")

</div>

Err… I think the backslashes should go the other way. 😉

Anyways, use the html codes for proper quotes, and you will get best results. Not only do you not need to backslash-encode them, you also get “smart quotes,” which aren’t simple double-quotes, but have direction.

For a left curly quote, use [font=monospace][noparse]“[/noparse][/font], and for right, use [font=monospace][noparse]”[/noparse][/font].

Here’s more info: [http://www.dwheeler.com/essays/quotes-in-html.html](http://www.dwheeler.com/essays/quotes-in-html.html)

[whisper]Hehe, that guy has the same name as my dad… except for the middle name.[/whisper]
