Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with special character



Hi,

Am 08.05.2005 um 12:44 schrieb Chris O'Brien:
You could also use JavaScripts built in decodeURI, then escape the
spaces with a backslash.

Thank you for this idea ... now I do it like this:

    uri = uri.replace(/file:\/\/localhost/,'');
    uri = decodeURIComponent(uri);
    uri = uri.replace(/ /g,'\\ '); // spaces

After some tests it is working okay ... hoping in the future too :)

greetings
Dirk Einecke

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden

This email sent to email@hidden
References: 
 >Problem with special character (From: Dirk Einecke <email@hidden>)
 >Re: Problem with special character (From: "Chris O'Brien" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.