How to encode these characters?

I am surprised that I can't find examples of how to proceed (so far). Basically, I need to URL encoded only these special characters, as specified in RFC1738, section 2.2:

';","/', '? ', ': ', '@', '=' and '&' (and '+' while '+' is not required by article 2.2)

I find it strange that thers is no URLEncodedFormat param to specify exactly the characters to encode. This seems to be something important. Many web services, such as Amazon SimpleDB service, I work with, have strict coding requirements.

I'm not very good with regular expressions, but that seems to be the way to go here. Someone knows how to build a RE to encode the characters in section 2.2, or did you see special tags or examples? I just want a string that may have one of these characters and do return code. Thank you.

Not sure why I thought REReplace was the way to go, but ColdFusion once again showed what a joy it is to work with solving my probem with a single line of code. My colleague helped me by suggesting that:

#ReplaceList(string,";,/,?,:,@,=,&,+", "%3B,%2F,%3F,%3A,%40,%3D,%26,%2B") #.

Works like a charm.

Tags: ColdFusion

Similar Questions

  • APEX_UTIL. URL_ENCODE does not encode special characters

    Hello

    I encode a URL that has characters special for example "Uoauoa".

    Someone has an idea, how I can also encode these characters as the APEX_UTL function. URL_ENCODE he made?

    There is a similar feature in Java - a PL/SQL function that does the same thing I'm looking for ;-) at [http://www.w3.org/International/O-URL-code.html]

    Thanks in advance.

    Kind regards
    Martin

    utl_url.escape ?

    Van
    Trent

  • How to encode a video for an iphone?

    Back story: I used the first pro to make videos, I needed, but to keep the same dimensions, I was exporting as these large files (500-700 MB). I need to download the videos on instagram, that's why I need to make them able to be transferred to my iphone.

    So I downloaded encoder and regardless of how to encode using the option "iphone", it keeps making them with the black bars on the side. I obviously don't want the black bars if I click corresponds to the source in the video options, but it then changes the encoder setting to 'custom' that does not allow it to play on my iphone.

    Is there a way I can encode videos WITHOUT black bars so I can record on my iphone and then put them on instagram?

    I added the reference photos.

    Fig 1: try to export using the preset of the iphone, which gives black bars

    Photo 2: The source

    Photo 3: Changing the video settings for "corresponds to the source", the creation of a custom preset can play on iphone

    (I also welcome suggestions in doing so using first pro to export the videos, then save them in my phone because I have always saved them as files of pproj.)Screenshot (23).pngScreenshot (22).png

    Screenshot (25).png

    Hi brennah,.

    Try this:

    1. in the project Panel, right-click on the image and select "new sequence of the Clip.

    2 - your monitor of the program should look like this:

    3. after installation, go to file > export > Media or (Ctrl + M) and export in H.264 format

    4 - play on your iPhone. (iPhone screenshot below)

    I hope this helps.

    Regalo

  • How to enter special characters with the Run statement (@).

    Hello

    Oracle10g (R1)

    NLS_CHARACTERSET = "AL32UTF8.

    When I insert record with special characters like "hastened" with the customer tool insert it works fine, but I run the same INSERT statement execution i.e. statement "SQL > @/ path/Script_File_Name.sql ' special characters has not inserted correctly and it become something like 'h¿ta'.»»

    How to enter special characters correctly race (@) statement?

    Thank you

    If you create a file in Notepad, select the ANSI or the encoding UTF-8 in the dialog box save as.  Copy the Linux file in binary mode. Set the variable NLS_LANG ".» WE8MSWIN1252 ", if the file was saved with the ANSI coding or to. AL32UTF8", if the file was saved with UTF-8 encoding. Be sure to export the variable.  Then, start SQL * more and run the script.  I guess that you are on a U.S. or Western Europe of Windows version.

    Thank you

    Sergiusz

  • How to insert special characters

    Hey,.

    I can't understand how to insert special characters in a paragraph (the "Indent to Here" in this case).

    I tried text_frame.paragraphs [0] .silence += SpecialCharacters.INDENT_HERE_TAB;  but all I get is "1397319796" instead of the actual character.

    How to insert special characters instead of these numbers?

    Zoffix222 wrote:

    People who visit, but nobody don't know it?

    What, you mean that in the 5 minutes that you posted it responded to nobody? Shocking indeed.

    You already learned by yourself, 'content' is the wrong type of object stuff "SpecialCharacters' in. 'content' is the content of the text, translated in a simple string of Javascript. Only when you change a single 'character', you can use "SpecialCharacters", because at that time there Extendscript will see that you do not want to change the string "full"?

  • How to handle special characters in the Apex

    Hello

    In my application, I have two regions - region report (interactive report) and other is region HTML with text elements two - Empno and name

    My report has two columns Empno (varchar2) and Ename (varchar2).

    When I click on the link change in the column of the report, the empno should be a read-only value EMPNO and ename is a text with the value of the ENAME field.

    When I run my application, I have encountered the following problems:
    1. If my empno has special characters such as "#", the characters after that is not posting
    2. If my empno has special characters such as "," characters after the decimal point is considered to be a value of next texitem

    Here is my authentication information,

    CTSAN_ORACLE_DB workspace
    Username [email protected]
    Password lakshmi321
    URL: http://apex.oracle.com/pls/apex/f?p=9444:19:4292839314890159:


    Please, I beg you. suggest me how to fix these problems.

    Thank you
    David...

    Published by: David on August 13, 2010 03:05

    Do not pass the data values in the URL. If it is possible to escape values to make URL - and APEX parameter-safe, it is much better to avoid the problem completely.

    Create a primary key of the substitution on the table which is an immutable discreet digital identifier and use it only as a URL parameter. In pages/target areas, use this value of PK to extract the data from the table.

  • How can I add characters often used to my home keyboard? iPhone 5 - 9.3

    How can I add characters often used to my home keyboard? iPhone 5 - 9.3

    You cannot change the built in keyboards. There may be some third-party keyboards that will allow that. You should look for the App Store.

    What kind of characters are you talking about?

  • How to insert special characters when I hit e-mail or Facebook?

    How to insert special characters when I hit e-mail or Facebook?

    See also:

  • From time to time my roommate ends up getting new toolbars with buttons or apps that I don't want. How I eat these?

    From time to time my roommate ends up getting new toolbars with buttons or apps that I don't want. How I eat these? Thank you!

    Great idea! Thank you!

  • Compacted Outlook Express and save some of my emails. Now, I need access to the following, but can not open them. How to reopen these emails? __

    Compacted Outlook Express and save some of my emails.  Now, I need access to the following, but can not open them.  How to reopen these emails?

    Hi Redtiger1705,

    Lost emails immediately after compact preforming?
    If so, Outlook Express creates BAK files before compaction. They are copied there as a precaution, in case something goes wrong with the compaction. The following steps should help those rear:

    1) open Outlook Express and go to tools, Options, maintenance, store folder. Copy the entire path to the storage folder, and then click OK.  Close Outlook Express.

    (2) go to the basket and search for all files with the .bak extension.  Restore the most recent .bak files. That he will put in the OE store folder, but still like a BAK file.

    (3) click on start, run and paste the path that you copied in step 1 in the run box, and then press ENTER.

    4) click Tools, Folder Options. In the Folder Options window, click the view tab.
    (5) less advanced, uncheck the "Hide extensions for known file types".
    (6) you should see the two sent a Sent Items.dbx from the file as well as the Items.bak. Rename the Sent Items.DBX to Sentold.dbx and Rename Items.Bak sent to Sent Items.DBX. When you open OE, your messages sent items must be restored.
    Please let me know if I can be of further assistance!

    Cody C
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How can I display characters in 'Wireless Network Connection' - > 'Properties' when the checkbox "show characters" is grayed out?

    How to display hidden characters in the Properties tab, in the connection, that I am using, under the wireless network connection box when that I should be able to check box is greyed out and unclickable?

    Also NOTE: When you try to use ctrl-p method, a ctrl-v, at the point where you click the box of characters on that he blanks.

    Hello

    You are connected to a domain?

    If the show characters check box is grayed out, the network, or the computer may be restricted by a group or local policy.

    If this computer is connected to a working network, I suggest you contact your help desk or IT Department.

    Concerning

  • How to remove unwanted characters in ODI Flatfiles

    Hi Experts,

    Can someone please explain, how to remove unwanted characters from flat files before moving on to the target? Your help will be greatly appreciated. Thanks in advance.

    Kind regards

    REDA

    On oracle staged you can use REGEX_REPLACE to get rid of special characters, for example

    REGEXP_REPLACE (, "[^ [: alnum:]" "]', NULL")

    or

    REGEXP_REPLACE (, "[[: cntrl:]] ','") to get rid of nonprinting characters

    In ODI 11.x you would put this in the field of the expression of the target model in your interface

    The ODI 12, you would use a component of the expression in your mapping

  • How to get special characters in the oracle column only

    Hi all

    with spec_tab

    as

    (

    Select ',' col1 of double

    Union

    Select ',' col1 of double

    Union

    Select 'something' double

    )

    Select col1

    of spec_tab

    How to get special characters in the oracle column only

    You mean like this?

    -------------

    WITH spec_tab
         AS (SELECT ',,,,' col1 FROM DUAL
             UNION
             SELECT ',' col1 FROM DUAL
             UNION
             SELECT 'some thing' FROM DUAL)
    SELECT col1
      FROM spec_tab
      where translate('~'||col1,'~0123456789abcdefghijklmnopqrstuvwxyz ','~')<>'~'
    

    Output:

    -----

    COL1

    ,

    ,,,,

    See you soon,.

    Manik.

  • How to stop the characters come off when combining PDF files?

    Does anyone know how to prevent the deletion of characters when you combine Adobe PDF files? If this isn't the case, nobody knows how to make the characters appear again?

    Hi abrilb52165665 ,

    Could you please let us know if this is the case with a single file or other files as well?

    Try to combine other pdf files and see if you still get the same results.

    Also, visit the following links that deal with the same issue:

    Missing letters when combined several pdf files

    Problems combining two PDF files

    Some PDF Documents are missing letters when printing

    Thank you

    Shivam

  • I had to rebuild the computer and reinstalled the photos of cecently.  I have photos imported into Lightroom, but the parameters associated with the photos, that is to say. When they were developed, are not there.  How to import these?

    I recently had to rebuild the computer and reinstalled the photos.  I have photos imported into Lightroom, but the parameters associated with the photos, that is to say. When they were developed, are not there.  How to import these?

    Default LR stores all changes in the catalog file, not in the pictures. So if you have a backup of your original catalog you will need to copy on the newly rebuilt system and open it in LR. You will then need to recreate a link to the images in the catalog depending on where are your images and where the original LR catalogue think they are.

Maybe you are looking for

  • Synchronize the Exchange characters quickly; cannot sync?

    I have Firefox with the installation of the sync on a mac and need to sync with my new Firefox under RHEL5 and when I chose to set up the sync->, I have an account, the 3 boxes to watch a few keys changing of the numbers and letters (I'm talking spec

  • Have no control with the mouse on my Satallite P300-123

    I have a problem with my mouse on the laptop. When I use the mouse, the mouse is every time left right up down.So I have no good control with the mouse. Can someone help me with this probem? (Sorry for my English)

  • dx7300: after processor upgrade system uses no multipliers again

    Today I updated my PC (dx7300 mt) with the new c2d E6600 processor (so far I've been using c2d E6300). BIOS has also recognized new processor, Windows, CPU - z, the new processor is recognized correctly with multipliers x 6 to x 9 (previously my E630

  • How to access my smtp password?

    How to access my smtp password in order to change it?

  • Perform a boot PXE for MDT 2013 T450S

    Hello I am trying to install a new picture on my T450S with the latest version of the bios. Perform a PXE boot from my WDS server does not work for this laptop (all other brands such as HP etc work) WDS settings default (so no option 66 or 67) I get