I want to save a text file without the wierd symbols that look like a box. I don't want to edit this file later. I want it to create an editable custom extension(already done). Then save as HTML ,but those symbols could mess up the browser. I don't want the user to have to delete it by hand.
It sounds like your having an issue with your source files(where your text is coming from) try to validate that the files are saved a UTF-8 if possible as what's probably happening is the file is loaded in flash isn't recognizing the fonts and what you see is flashes attempt to understand the copy.
Its hard to give a global answer to that problem (is it a multi language thing?)as there can be many factors that can effect this issue.
The best way to confront it if we are talking globaly is first start from your copy source validate that its simple text(didn't come through a text editor such as word or any fancy one you want the most simple option posible.
grab the copy and just paste it into your notepad copy it again and you got copy that is freed up from most propritory information. This happens as well when copying text from word as word has its own .
If you have a way to control the source of the files your in the best posible place if that is not an option you might need t manually search and replace but i recomend first investigating into this and seeing if you can get your source copy to be cleaned up so it doesn't get into your flash/air app.
other posibilities might be:
- language related issues
- font within flash you might be working on a font that just doesn't have some of the chars and you need to find a font that has a boarder range of fonts that would work with the type of data your trying to output
when you just do the example on this link do you get that extra box?
http://help.adobe.com/en_US/AIR/1.5/devappshtml/WSAA022E3E-090D-4003-B31E-1D2C7A53867A.html
if not can you recreae your steps.
I Hope that hit the nail on the head if not hit back with more information on the type of data your getting in maybe a screen grab that would be extreamly helpful as well ;) if you twitter just twitter @02geek with my nick and a link to this page & i'll jump back in if you have more info on it / or if there are still any open ends
_
Ben Fhala
Flash/AS3 School || Follow
@02geek ||
NEW! Youtube Channel ||
The EventController - OpenSource ||
More Recipies
P.S. If you want to call my attention to a request
add
@02geek to the title or twitter
my nickname and a link to your post.
P.S.2. If this helped please support by
twittering/rating/commenting
- it keeps me motivated ;) thanks :P
+