A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: foreign letters in getURL

  1. #1
    Member
    Join Date
    Mar 2001
    Location
    Norway
    Posts
    57

    foreign letters in getURL

    Hi!
    I'm trying to link to an adress with the letter Ø with getURL function in AS2, but I get %F8 for that letter in my browser, and it can't access the webpage.
    How shall I write 'thelink' containing that letter?

    getURL(thelink,"_blank")

    thanks

  2. #2
    Senior Member realMakc's Avatar
    Join Date
    Oct 2002
    Posts
    927
    It should be %D8. %F8 is ø (small one).
    who is this? a word of friendly advice: FFS stop using AS2

  3. #3
    Member
    Join Date
    Mar 2001
    Location
    Norway
    Posts
    57
    Ok. thanx. but it still doesn't help.

  4. #4
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    Hi,

    Does this help at all?
    PHP Code:
    on (release) {
        
    SearchTerm "http://www.googleØ.co.uk"
        
    NewTerm SearchTerm.split("Ø").join("%D8");
        
    getURL(NewTerm"_blank");

    look into UTF-8

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center