View Full Version : Getting apostrophes working in Flash
gymshoe
06-02-2005, 05:40 PM
I have a site built in flash that reads plain text files to display the content. The problem is wherever I have an apostrophe, it shows up as a square box. I read elsewhere that this is what Flash does when it doesn't recognize a charcter.
Any ideas on how to properly get an apostrophe to show up correctly? ...
One very peculiar thing I found was using the ' character.
Once I insert that into my text, flash will display up to that character and won't dispaly any more text. I then change it back to a normal apostrophe, ...then flash displays it as a an apostrophe...but just that particular one. Very odd.
thanks,
phppete
06-02-2005, 06:30 PM
You probably don't have an apostrophe to begin with but something that looks like it but I would assume you copied the text from somewhere, do a file find and replace. The square box is because its probably some kind of crap from MS Word or some other app or site.
gymshoe
06-02-2005, 07:33 PM
well...i'm editing the text file directly from dreamweaver...and the file is a .txt file.
DogAndPony
06-02-2005, 09:03 PM
well...i'm editing the text file directly from dreamweaver...and the file is a .txt file.Have you looked at it in "code" view? even though the file is ascii .txt, it might have character high-ascii encodings in it that DW's displaying on the fly in design view...
Just a thought. :ytthink:
[Edit: ] Oh, duh... never mind. I somehow missed the last part about the encoded apostrophe.
Sounds like a Flash bug...
Would it be possible in this case to use "straight quotes" or would that clash with the design?
Flash defaults to UTF-8. Check that DW's encoding is set to UTF-8 and that you write the BOM (byte order marker).
Erich
DogAndPony
06-03-2005, 02:49 AM
Flash defaults to UTF-8. Check that DW's encoding is set to UTF-8 and that you write the BOM (byte order marker).Ooh, good point.
Ya know, when I need to make sure it's plain old plain text, I whip out BBEdit. That apps stays open all day long on my Mac. Dunno what I'd do without it.
*snif*
Oh, man... now I have to go to it and give it a hug...
...Bob
Bob West
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.