# encodeURIComponent issue

**URL:** https://forum.kirupa.com/t/encodeuricomponent-issue/278729
**Category:** flash
**Created:** [January 4, 2009, 6:29pm UTC](https://forum.kirupa.com/t/encodeuricomponent-issue/278729 "2009-01-04T18:29:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![lolomedia](https://avatars.discourse-cdn.com/v4/letter/l/ebca7d/32.png) [@lolomedia](https://forum.kirupa.com/u/lolomedia)
#### Post date: [January 4, 2009, 6:29pm UTC](https://forum.kirupa.com/t/encodeuricomponent-issue/278729/1 "2009-01-04T18:29:04Z")

</div>

I am trying to add encodeURIComponent to the following function so on my email I can get the links to be linkable but for some reason it is not working. In this line i have the following:

```auto

"Click the following link:
" +
meetingDetails.url.replace("https", "fuze") + "

" +

```

this is what i’m getting without using encodeURIComponent : fuze://[fuzetest.callwave.com/fuze/614b03a2/11561](http://fuzetest.callwave.com/fuze/614b03a2/11561)

This is the entire function

```auto

public static function getMeetingInfoEmailPart(meetingDetails:MeetingDetails,confRoom:ConferenceRoom):String {
            
            var roomAddress:RoomAddress = getRoomAddress(confRoom,false);
            var tollFreeRoomAddress:RoomAddress = getRoomAddress(confRoom,true);
            var info:String = meetingDetails.invitationText+"

" +
                              "-----------------------------------------
" +
                              "Meeting Subject: ................ " + meetingDetails.subject + "
" +
                              "Meeting Date: ................... " + meetingDetails.startTime.toDateString() + "
" +
                              "Meeting Time: ................... " + meetingDetails.startTime.toTimeString() + "
" + 
                              "-----------------------------------------

" +
                              "To join the web meeting:

" +
                              "Click or copy and paste this URL into your browser:
" +
                              meetingDetails.url + "

" +
                              "To join the web meeting thru your iPhone:

" +
                              "Click the following link:
" +
                              meetingDetails.url.replace("https", "fuze") + "

" +
                              "To join the audio portion of this meeting:

" +
                              "Toll and international dial in:" + StringUtil.formatPhoneStringUSA(roomAddress.phoneAddress) + "
" +
                              "U.S. only toll free : .......... " + StringUtil.formatPhoneStringUSA(tollFreeRoomAddress.phoneAddress) + "
" +                              
                              "Room : .......................... " + roomAddress.roomNumber + "

" +
                              "Having trouble joining this meeting?

" +
                              "Click or copy and paste this URL into your browser to visit the FUZE Support page:
" + 
                              "http://www.fuzemeeting.com/fuzemeeting/support

" +
                              "Thanks for using FUZE by Callwave.";
            return (info);
        }

```

please help! :jail:
