TwelvestoneFlash

Accessing Files with Special Characters in Filename?


Sign in

  • Waiting for Godot ( 730 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 5.1 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.9 k posts )
    general front end design an...
  • Back End ( 9.7 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
Portnoy
 
2011-10-26

Hi all -

It's been many a year since I last did anything Flash-related, but I'm hoping someone else here has had some experience working with foreign (non-English) languages in Flash. I'm no longer doing Flash work, but am trying to help a coworker who's working with Turkish clients.

He's getting passed the name of an image that contains special characters. This name displays correctly within a textfield, and traces out correctly in the Output window. However... when Flash attempts to load the .jpg (with the funky special characters), it fails. When we look at the Activity Window in Safari, the call to the image has a bunch of ???? in the filename.

The closest we've come to another description of the problem is this issue involving French. He's tried the suggested conversion function, with no success.

A lot of the Unicode/UTF-8 stuff is way over my head, but I'm hoping someone here has run into this kind of a situation before.

I hope I'm being detailed enough to convey the issue here. If I can provide more info, please let me know. Any feedback greatly appreciated!

Portnoy
 
2011-10-26

Nevermind. Used encodeURI and that solved the problem.

Walt
 
2011-10-26

k

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneFlash

Accessing Files with Special Characters in Filename?