FileUpload and special characters problem

Dear all,
I currently encounter a issue with the FileUpload module.
In my user form I have a FileUpload module to enable the user to upload a certificate file. The module itself is working fine but when the user controls an organisation containing a special character (like ñ), I cannot save the form because of the following error :
( ) - Warning: Parenthesized values in field 'accounts[Lighthouse].controlledOrganizations' do not match any of the allowed values.
No controlled organisation is parenthesized.
If I remove the FileUpload module, there is no error and I can save the user.
If I change the type of the FileUpload module to Text, there is no error and I can save the user.
I have two environments with this problem and two other without but the forms are identical, the java classes are the same. I do not see what would be able to cause this behaviour.
Do you have any idea how to fix this ?
It looks like the issue reported in this thread Problem using FileUpload Class Element/ encoding/ umlaut problem
Thanks

Try to use parameters instead hardcoding values in the queries:
select * from user where lower(username)=?;
and don't forget to lower the value from java side as well ;-)

Similar Messages

  • Remove spaces and special characters from a form field

    Hi,
    I am tragically new to all of this, but am trying to create a form in Adobe Acrobat 9.  I am trying to use a Custom Format script to take inputs in a form field and automatically remove spaces and special characters (hyphens specifically).  For example, if a user inputs "RAN-99 06" I would like it to change to "RAN9906."  I found this script that will not let users input special characters
    if (!event.willCommit) {
        event.change = event.change.replace(/[\$#~%\*\*\^\-\(\)\+=\[\]\{\};\"\<\>\?\|\\\!]/g, "");
    And that's okay, but I can't figure out how to disallow spaces.  Also, the perference would be for a script to allow users to input the data as they like, but to clean it up after they leave the text field.
    Thanks in advance!

    From the description, I assume that the script is currently in the Keystroke event. In fact, that would be a most logical way to have it; simply ignore anything unwanted when entered.
    If you want to allow the user to enter anything, but "clean it up" when done, you would place your code in the Validate event. You will have to adjust your Regular Expression so that it works globally, but that's the whole difference. This will change the value.
    Note that you can also enter the code into the Format event. However, that would only change the visual representation of the value, but internally, the value would remain as entered.
    Hope this can help.
    Max Wyss.

  • Is it possible to search for strings containing spaces and special characters?

    In our RoboHelp project, there are figures with text labels such as Figure 1, Figure 3-2, etc.
    When I search for "Figure 3" I get all pages containing "Figure" and "3", even if I surround it in quotes.  Similarly, searching for "3-2" treats the '-' character as a space and searches for all pages containing '3' or '2'.
    Is there a way to search for strings containing spaces and special characters?

    In that case I think the answer is no if you are using the standard search engine. However I believe that Zoom Search does allow this type of searching. Check out this link for further information.
    http://www.grainge.org/pages/authoring/zoomsearch/zoomsearch.htm
      The RoboColum(n)
      @robocolumn
      Colum McAndrew

  • Validating text field based on the combination of alphabets and special characters

    Hi Everyone,
    I am Using Oracle Apex 4.2 Version . I want to do validation for a textbox where it should accept all alphabets,numbers and special characters (abc12#$ , zbc, 123, nd12, 23_6!, @%77).
    But it should NOT accept all special characters only.(@#$#!)
    Pelase do help if any knows this.
    Thanks in advance,
    Nikhil.

    Hi Nikhil,
    Here is one way that could work.
    CREATE TABLE t (x VARCHAR2 (30));
    INSERT ALL
    INTO t
    VALUES ('XYZ123')
    INTO t
    VALUES ('XYZ 123')
    INTO t
    VALUES ('xyz 123')
    INTO t
    VALUES ('X1Y2Z3')
    INTO t
    VALUES ('123123')
    INTO t
    VALUES ('abc12#$')
    INTO t
    VALUES ('@%77')
    INTO t
    VALUES ('!@#$')
    INTO t
    VALUES ('~%^&*()_+')
    INTO t
    VALUES ('23_6!')
    INTO t
    VALUES ('zbc')
    INTO t
    VALUES ('123*456')
    SELECT * FROM DUAL;
    SELECT x
    FROM   t
    WHERE  ( Regexp_like (x, '[[:alpha:]]') -- include alpha characters
              OR Regexp_like (x, '[[:digit:]]') -- include numbers
              OR Regexp_like (x, '[[:punct:]]') ) -- include special character
           AND ( Regexp_like (x, '^[^%]*$');
                 AND Regexp_like (x, '^[^*]*$') ) -- exlude special characters % and *
    Jeff

  • A problem with regex and special characters

    Hello,
    I am using regex in my application but i have a problem with special characters. Here is the explanation of what i am doing:
    I have a certain piece of text that i want to parse and replace every occurrence of a given word with some sort of a tag which have the word found inside it.
    so that: go Going Go to gOschool by bus and to learn and to play GO Go
    and i need to replace the word "go" (case insensitive and only at word boundaries) should be:
    *<start>go<end> Going <start>Go<end> to gOschool by bus and to learn and to play <start>GO<end> <start>Go<end>*
    Consider the following code and call the method with the parameter"go?"
    The Matcher finds a weird match at the word "G?oing" with only the letter G !!!
    It also ignores the "?" in the pattern completely.
    Any clue of what is happening i would be very grateful...
    private static String replaceMatches(String strToFind)
            String resultArticle="";
            String article = " "+"go? G?oing Go? to gOschool by bus and to learn and to play GO? Go?*"+" ";
            strToFind = "\\b"+ strToFind +"\\b";
            String linkPart1= "<start>";
            String linkPart2 = "<end>";
            Pattern p = null;
            try{
                p=Pattern.compile(strToFind, Pattern.CASE_INSENSITIVE);
            Matcher m = p.matcher(article);
            String[] res = p.split(article);
            int i=0;
            //System.out.println("result of split: "+res.length );
            while(m.find())
                resultArticle+=(res[i]+" ");
                resultArticle+=linkPart1;
                resultArticle+=m.group().trim();
                resultArticle+=(linkPart2+" ");
                i++;
            if(i<res.length)
                resultArticle+=res;
    //System.out.println("result of match: " + i);
    System.out.println(article);
    //System.out.println(resultArticle.trim()+scripts);
    catch(PatternSyntaxException ex){}
    return resultArticle.trim();
    }Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    tarek.mamdouh wrote:
    because split will not work when trying to replace the first word if i don't append a space at the beginning.Split doesn't work anyway. And my question wasn't why do you add spaces (which you really don't need to do), but why do you do them with " " + "go" rather than just " go"
    replaceAll will replace all the occurrences in the text with only one word. without taking into consideration the case of the word i need to replace.No.
    >
    If i use replacaAll(article, strToFind) the output will be:
    <start>go?<end> G?oing <start>go?<end> to gOschool by bus and to learn and to play <start>go?<end> <start>go?<end>No. I showed you the actual output of an actual replaceAll.
    which is not what i want as i need to keep the case of the words i am replacingThe replaceAll I showed you does that.
    Please study the examples given and read the docs carefully rather than making claims based on inaccurate guesses.

  • Have a problem in Numbers with entering data directly into a cell when a table reaches a certain size and special characters are used?

    I am creating a list of words with special characters in some of them. I get to a point where I cannot enter data directly into the cell. I have to use the data entry bar at the top in the toolbar. Any solutions available?
    This is the table I am creating...
    From row 25 on, I am only able to enter data into the cell through the toolbar at the top and not directly into the cell itself. I believe that this problem originates from the special characters I have inserted in the previous records because if I do not use special characters, then the spreadsheet acts flawlessly. Have there been issues in Numbers with data entry, the size of a table, and using special characters?

    I would try removing the rows with "special" characters one at a time to see which one is causing the problem

  • Resource bundle UTF-8 encoding and Turkish special characters problem

    Hi dear developers,
    I'm developing a WebCenter Portal App in JDev 11.1.1.6.0 version. My project uses resource bundle for being multilingual. I have two bundles :
    1) <bundleName>_tr.properties (this the default one)
    2) <bundleName>_en.properties (this is the supported locale.)
    Now I have problem about the turkish characters in turkish bundle. When i run my project, it has a view just like this --> http://postimage.org/image/wr8nrm345/ (browser view) and http://postimage.org/image/3mf3fp2kl/ (bundleView)
    (Watch the "?" chars ! )
    You can see the bundle doesn't support Turkish special characters. How can i overcome with this problem?
    Thanks in advance.Regards
    erdo
    Edited by: erdo on 09.Oca.2013 17:24
    Edited by: erdo on 09.Oca.2013 17:25

    If you want to edit Unicode text resource you need a Unicode-aware text editor.
    You can search the Internet, but I had a good experience with Notepad++
    You may also ask in the JDeveloper forum ( JDeveloper and ADF ) if there is a way to resolve it. I found this: http://blog.newtrics.com/?p=242 , so I believe it may be possible somehow.

  • PDFs using BI publisher and special characters - pound sterling

    I have a table with character strings which include the £ pound sterling sign.
    If I create an xml file from the table using the escape sequence for the pound sign & # 163; and load it into BI publisher, the pdf renders correctly using an rtf template.
    If I include the pound sign in the rtf template itself the pdf renders correctly and if I use a report query in Apex based on the table, and an rtf template then the pdf renders correctly.
    However there is a limit to the number of columns that can be sent to BI via the report query - we have found this to be 119 columns. For more than this we have been using a stored function to return xml data as a clob and use the clob to generate the pdf with the rtf report layout (using get_print_document). This method works fine but the pound sign is not rendered correctly (appears as "?").
    The NLS_LANG is set to english_united kingdom in the database and in BI publisher. The locale in bi publisher is en_GB. BI will create the pdf correctly with the pound sign if using a standard xml file (with escape seq for pound) so I am sure it is not a language issue in BI/Apex.
    Any ampersands in the xml cause the pdf to fail completely and we cannot represent special characters with a sequence containing the ampersand for this reason. I have tried "& # 163;" and "& amp;#163;" and variations and have also tried using CDATA, none of which gives the correct pdf output. I have also tried to switch the encoding to Windows-1252 or ISO-8859-1 in the header of the xml (xml generated by stored procedure so can control this), but this gives incorrect results too.
    We also need to send other special characters to BI via get_print_document and apex (bullet points, ampersands, dashes ) but cannot use the escape sequences because of the ampersand problem.
    Has anyone had any success with this?
    Is there any plan ( for a future version of Apex) to increase the number of columns that can be used in report query using Apex/BI publisher?
    Thanks
    Kathryn

    Hi Kathryn
    I've had exactly the same problem as you've mentioned.
    Firstly, I've also found that I cannot select more than 119 columns from a view using a report query and have opted to the use the stored function to return the xml (same as you).
    After conducting a lot of searching and experimenting i've found that you can use the following escape characters in REPLACE in your stored function:-
    '£' can be replaced with CHR(194)||CHR(163)
    '%' can be replaced with '%25'
    '&' can be replaced with '%26amp;'
    I found the above escape characters from the xml file or by opening the xml file in Wordpad. Therefore I'm sure you'll be able to find the escape characters for the other symbols that you mentioned i.e. bullet points, dashes etc.
    I hope this has helped. Good luck and let me know if you get any developments with the limitation on the number of columns that can be selected from a report query as this would save a lot of trouble (as I'm sure you're aware).
    Thanks
    Natalie

  • Apple, please address this issue!!! Searching and special characters

    I've found at least one other topic here regarding this issue, but Apple has yet to address it, or even confirm that it's in fact an issue.
    A big portion of my library consists of international artists, many who have special/nonstandard characters in their names (e.g. "Tiësto"). In previous versions of iTunes, I could search for "Tiesto" (note the absence of the umlaut over the 'e') and all of those tracks would appear. However, after upgrading to iTunes 9, I'm forced to search for "Tiësto" in order to view those tracks.
    Thinking about this issue, it would seem that this is normal behavior, as an artist named "Pàz" isn't necessarily the same as "Paz". But the reality is that NO ONE wants to take the time to search for the alt-code of a special character, and then type it in. Additionally, most people (including me) have a number of reasons for not renaming the artist to conform to standard characters.
    Clearly, something has changed between iTunes 8 and 9. And it's incredibly frustrating. A big chunk of my library is virtually inaccessible to me now, unless I search for terms that don't contain special characters.
    Apple, **PLEASE** address this issue. I'm not the only one with the problem and it's become a huge pain in my side to have to work around this.

    I don't see how it's sloppy or why there should be any reason that it shouldn't have given you both.
    Even putting aside that gracenote and others don't have consistent spelling in their databases, that when you download from the iTunes store, who knows what you're going to get, so that one's library could be all over the place and one might not even notice it, accents and other markings don't change the fact that a u is the same letter as ú.
    Yes, it's pronounced different. Yes, the difference is very important. But it's the same base letter. And even if it's considered a different letter in another language, in English we have 26 letters and all the accents and tildes and umlauts don't make them a new letter, which is what we're talking about here.
    It's a huge pain that looking for an album that has "Zürich" in the field and I type in "Zurich" I can't find it. I have to think about if I really do have that album, maybe I deleted it by accident, etc. And then I think to type "rich" and then it pops up.
    That's way too many steps. I don't know keyboard shortcuts and I don't want to learn them. In English, it should be letters, not characters, that count.

  • Text fields special characters problem in forms created with ID

    Hi there,
    I'm creating form document with ID.
    The problem with special characters appears after exporting file to interactive pdf.
    When filling up text field, special characters (polish language specials in my case) are replaced by squares.
    I do not know if this is a ID problem (and I should set encoding during pdf creation somehow) or Acrobat/Reader problem (tried both and also in Polish or English versions).
    Some help would be appreciated.

    I am Creative Cloud User and downloaded fresh ID less than 2 hours ago.. And honestly the last thing I would think about was updating.
    But in fact - it was the problem.
    So thank you very much for help!

  • Special Characters problem in PI 7.1

    Hi,
    We have simple integration from R3 to JMS. from R3, idocs contain special characters, and they are getting converted in to different chanracters in integration engine. So making the output data currupted.
    I tested the same message in mapping test tool and the target message contains actual special charcters. Below is the example,
    Input: 
    i was thinking of using XMLAnonymizer, but the problem is in integration engine itself. I can see invalid output in SXMB_MONI.
    so could some one help me how can i fix this issue?
    Many thanks in advance.
    Regards,
    Prasad..

    Hello,
    Please check this document to sort out your issue:
    How to Work with Character Encodings in Process Integration (NW7.0):
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42
    Br,
    Dzmitry

  • ESB or BPEL file adapter and special characters

    Hi,
    We have a scenario where we import rows from .csv file through an ESB project into a database. We use the file adapter for this. There appears to be a problem with special characters (like é). Both in the ESB control (with variable tracking) and in the database, they appear as upside down questionmarks (¿). I've tried doing the same with a BPEL project (file adapter as client PL) and in the BPEL console, I also see strange characters instead of the expected special characters (diamond shaped characters, like ♦ to be precise).
    I can't find anything about character sets of character set conversions in the documentation. What am I missing?
    Regards,
    Arjan

    see
    http://download-west.oracle.com/docs/cd/B31017_01/inte
    grate.1013/b28994/nfb.htm#CIAEFBHHI've looked into the properties mentioned. They are set when you go through the wizard. Everything is set to UTF-8, which should provide me with all special characters I need.
    BPEL does the exact same thing, so I'm starting to believe that the problem really is with the file adapter.
    Regards,
    Arjan

  • Metadata special characters problem

    You would be forgiven for thinking it easy to add a caption for each image to identify the photographer and her credentials. Metadata is there for that purpose and the IPTC "Author" field seems an obvious choice.
    However, most letters-after-your-name will contain special characters eg.
    Gordon Bennett FRPS; MPAGB; EFIAP/b.
    and these cause huge problems to the Adobe products that seem to have gone un guided.
    If these are entered into the Metadata in the File Info panel in say Photoshop or Bridge they are recorded correctly. When reading the Metadata from file in Lightroom (Vista version) however, only the text up to the first semicolon in the above example is transferred. The same problem occurs with the slash. Thus all the Lightroom modules work on incomplete data.
    (I have neither special character set as a keyword seperator in Preferences).
    Is there some coding tag that can be wrapped round this text to ensure it is published correctly by the web module ?

    Hi Kenneth,
    Thanks very much for your comments.
    In Preferences>File Handing I have de-selected the option to have Lightroom use forward slash as a keyword seperator. My understanding is that therefore it should not do so.
    Do you mean that Vista overrides this? or is it simply the Vista version of Lightroom that is doing it.
    I had noticed that if a comma is used to seperate keywords that both Bridge and Photoshop replaces them with semicolons and it seems that you cannot prevent this.
    Do you know something about how this mechanism works and if it can be varied?
    As for an answer to your question of "what shows up in the fileds" I don't think you can tell. Although you can in Bridge/Photoshop by examining the File Info panel, in Lightroom it just disappears into the "catalogue" and cannot be examined. It is displayed of course in the Lr metadata panel but that is where we started, with truncated fields !! However if you save the apparently truncated metadata xmp in Lr then force a read again in Bridge, the full data seems to still be there. Thus it would seem this is a problem specific to Lr and the way it displays metadata containing special characters.
    Any further info on the Vista issue would be very welcome.

  • Accents and special characters - how to manage

    Hi,
    please could you explain how it is possible to handle accents and other special characters in Business Objects XI 3.1 (Universes and Reports)? Which are the parameters/settings I need to configure for
    Database (ORACLE)
    Application Server (AIX)
    Universe
    WebI
    I want to display italian accents ò à è ù ì and some special characters like '@'. Even if they are correctly stored in DB, in WebI I retrieve characters without accent and a '?' for '@'
    Any suggest?
    Then, one more thing ...I noticed that creating a new report WebI, characters with accents appear without accents, instead if I create a report with Rich Client and I publish it, then accents are correctly displayed also opening the report with Web Intelligence. I have the application server on AIX, but Rich Client runs on WIN Server ...
    Thanks a lot
    Edited by: Tube Girl on Mar 22, 2010 4:25 PM

    Hi,
    I had almost the same problem (only different language) and manged to solve it after "google-ing" these links:
    http://www.forumtopics.com/busobj/viewtopic.php?p=658760&sid=7fd77de133ee32213d987cb1550ae568
    https://oraclespin.wordpress.com/2008/05/01/setting-nls_lang-for-oracle/
    http://docs.oracle.com/html/B13804_02/gblsupp.htm
    FYI, system is AIX 5.3 with Oracle 10g.
    I've edited .profile for boxi user and added appropriate export of NLS_LANG variable, then restarted BO and now reports are correct.
    I guess you should try adding this line to .profile of your boxi user
    export NLS_LANG=ITALIAN_ITALY.WE8MSWIN1252
    then restart and see results.
    Hope this helps,
    regards!

  • Image Capture and special characters in file names.

    Hung up image capture yesterday: We tried to enter a date in the file name of the document we were scanning. It proceeded normally, but then did not save the file and image capture would not scan again until OS restarted.
    Problem repeated until we discovered a slash in the file name box. Changed the file name and everything works now.
    Software should either prevent user from entering special characters in the file name box, or properly handle the error and not hang up the application.

    Hi,
    Would mind providing a screenshot about how your Content Query Web Part rendering in your environment?
    In my environment, it displays the filename which contains periods:
    I would suggest you create a new page and insert a Content Query Web Part to perform the test again.
    Feel free to reply with the test result or if there any progress.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Patrick Liang
    TechNet Community Support

Maybe you are looking for