Bug in APEX_UTIL.DOWNLOAD_PRINT_DOCUMENT for special characters?

Hi,
I am using APEX_UTIL.DOWNLOAD_PRINT_DOCUMENT to download reports from BI-Publisher. But with special characters, and only if the filename is to long, the filename is in Firefox 10.0.2 not correct. In IE9 its running fine. I am not sure if its only a browser-problem or a problem with APEX.
Here is the code:
declare
    v_filename varchar2(1000);
begin
    v_filename := 'Umlaut ü 123456789012345678901234567890123';
    APEX_UTIL.DOWNLOAD_PRINT_DOCUMENT (p_file_name => v_filename,
                                       p_content_disposition => 'attachment',
                                       p_application_id      => :APP_ID,
                                       p_report_query_name   => 'Checkliste',
                                       p_report_layout_name  => 'Checkliste',
                                       p_report_layout_type  => 'rtf',
                                       p_document_format     => 'pdf');
end;With
Umlaut ü 123456789012345678901234567890123its working and I get a file named "Umlaut ü 123456789012345678901234567890123.pdf".
But with
Umlaut ü 1234567890123456789012345678901234(one character longer) its not working and I get a file named "=_utf-8_B_VW1sYXV0IMO8IDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQucGRm".
If I change the ü to ue I have no problems, even with much longer filenames.
Very strange, isnt it?
Any ideas for this?
Kind Regadrs,
Mark

Hi,
it does not work all fine with the IE. The following is not working both browser (firefox and IE):
    APEX_UTIL.DOWNLOAD_PRINT_DOCUMENT (p_file_name => 'Objektpruefung 02.08.2010 1000.pdf',
                                       p_content_disposition => 'attachment',
                                       p_application_id      => :APP_ID,
                                       p_report_query_name   => 'AnlagenCheckliste',
                                       p_report_layout_name  => 'AnlagenCheckliste',
                                       p_report_layout_type  => 'rtf',
                                       p_document_format     => 'pdf');The filename is then "Objektpruefung 02..pdf".
Can anybody help me?
Regards,
Mark

Similar Messages

  • Checking for Special Characters

    I need to check if a textbox in my form containes special characters (entered by user). If there are any, I need to display an error message.
    I have written a function but it's not working.
    here's my function:
    function checkForSpecialChracters(oFiled)
    var userInput = oFiled.rawValue; // take the String entered by the user
    var iChars = "@#$%^&*+=-[]\\\';,./{}|\":<>?~_";
    for (var i = 0; i < userInput.length; i++)
    if (iChars.indexOf(userInput.charAt(i)) != -1) {
    xfa.host.messageBox("Please check for special characters. The following characters are not allowed: @#$%^&*+=-[]\\\';,./{}|\":<>?~_ ", "Error Message", 3);
    // Change the color of the field
    oFiled.fillColor = "255,100,50";
    Any help would be greatly appreciated.
    Thank you!

    Paul,
    It is working now. I don't know what I might have changed.
    Here's my final function (It works!):
    function checkForSpecialChracters(oFiled)
    var userInput = oFiled.rawValue; // take the String entered by the user
    var iChars = "@#$%^&*+=-[]\\\';,./{}|\":<>?~_";
    var hasSpecialCharacter = false;
    for (var i = 0; i < userInput.length; i++)
    //app.alert("Value is: " + userInput.charAt(i));
    if (iChars.indexOf(userInput.charAt(i)) != -1)
    hasSpecialCharacter = true;
    break;
    } // end if
    } // end For loop
    if (hasSpecialCharacter)
    // Change the color of the field
    oFiled.fillColor = "255,100,50";
    xfa.host.messageBox("Please check for special characters. \n\nThe following characters are not allowed:\n\n @#$%^&*+=-[]\\\';,./{}|\":<>?~_ ", "Error Message", 3);
    else if (!hasSpecialCharacter)
    oFiled.fillColor = "255,255,255";

  • Text edit- Keystrokes for special characters

    They've changed the keystroke I use to use for making a checkmark.  It was 'Option v'.  Now it's not.  Is there a chart somewhere showing what teh keystrokes are now for special characters?  Thanks so much for any help.
    -Thom

    Okay, I found this, http://support.apple.com/kb/PH10758?viewlocale=en_US .  Which gives me the Edit/Special Characters.  But I still do not find any keystrokes to make my checkmark.

  • JSP diplays shows junk for special characters.

    JSP Gurus,
    After upgrading the JRE version of my Tomcat from 1.3.1 to 1.4, all the JSP files have started displaying junk characters for the special characters (like ?, ?). These characters are being pulled from database. If I replace these characters with their ascii values, it works fine but there was no problem with the JRE 1.3.1. I have alot of data with these characters in the datbase. What is the easiest way to display these characters with JRE 1.4.
    Thanks,
    AG

    No One?!?

  • Dynamic insert for Special Characters

    Hello,
    I'm running into a problem inserting data with Special Characters. I have a report (designed oracle reports), that takes data and inserts the data into table. I use the SRW.do_sql built in package in a before report trigger to process the data. However the problem that I'm running into is how to dynamically account for the special characters in a description field that I have. There is no way for me to predict where or how many can appear in a field. For example, I may have a field that contains data like:
    O'REILLY AND ASSOCIATES INC.
    OR
    FULLER & D'ALBERT, INC.
    OR
    JOANNE'S BED & BACK SHOP
    The only special characters that seem to be used and are causing me problems are the " ' " and " & ".
    Does anyone know how I can dynamically account for these special characters in my insert statement?
    Thanks,
    Martin

    Hello,
    I'm using SRW.DO_SQL procedure in oracle reports because that is one you can run text via reports. The report actually exports the results to a text file and insert the results into a table. Anyway, the SRW.DO_SQL isn't my problem but rather the special characters. I have researched the problem some more and I have found a solution. You can use the "replace" feature to do an insert/update of special characters. You also need to find the character number for each special character. I believe "&" is chr(38), "%" is chr(37), "#" is chr(35), "@" is chr(64), "'" is char(39). So the code would be:
    insert into tableA (column1) values(
    replace(replace(replace(replace(replace(v_entity_name,chr(39),chr(39)),chr(38),chr(38)),chr(35),chr(35)),chr(37),chr(37)),chr(64),chr(64));
    Martin

  • Find out the sql query for special characters.

    Hi,
    I have the emp table with column name first_name.In that table i have lot records with first_name inlcudes the below mentioned special characters.
    ¡ , ¿, ,Ä,Å,ä,ª,À,Á,Ã,à,á,ã,å,Æ,æ,Ç,ç,È,É,Ê,Ë,è,é,ê,ë,Ì,Í,Î, Ï,ì,í,î,ï, Ñ,ñ, ô, º, Ò, Ó, Ô, Õ, Ö, Ø, ò, ó, õ, ö, ø, ß, Û, Ù, Ú, Ü,ù, ú, û, ü, ÿ,
    I am looking for the records with includes the above mentioned special characters in the first_name column.
    Can u please give the sql query to find out the records.
    Thanks&Regards
    N.Sivaraman

    I am looking for the records with includes the above mentioned special characters in the first_name column.One way would be:
    select emp.*
      from emp,
           table (
             sys.odcivarchar2list ('¡',
                                   'Ä',
                                   'Å',
                                   'ä',
                                   'ª',
                                   'À',
                                   'Á',
                                   'Ã',
                                   'à',
                                   'á',
                                   'ã',
                                   'å',
                                   'Æ',
                                   'æ',
                                   'Ç',
                                   'ç',
                                   'È',
                                   'É',
                                   'Ê',
                                   'Ë',
                                   'è',
                                   'é',
                                   'ê',
                                   'ë',
                                   'Ì',
                                   'Í',
                                   'Î',
                                   'Ï',
                                   'ì',
                                   'í',
                                   'î',
                                   'ï',
                                   'Ñ',
                                   'ñ',
                                   'ô',
                                   'º',
                                   'Ò',
                                   'Ó',
                                   'Ô',
                                   'Õ',
                                   'Ö',
                                   'Ø',
                                   'ò',
                                   'ó',
                                   'õ',
                                   'ö',
                                   'ø',
                                   'ß',
                                   'Û',
                                   'Ù',
                                   'Ú',
                                   'Ü',
                                   'ù',
                                   'ú',
                                   'û',
                                   'ü',
                                   'ÿ'
    where instr (ename, column_value) > 0

  • Creating hotkeys for special characters in textedit

    Hello,
    I'm trying to type my maths HW on my mac on textedit or word 2008. I'm trying to type the Z (integer symbol). Now I have found that in Special Characters in textedit but I cannot add a hot key to it for frequent use. In word 2008 I didn't find it, although I could paste it from textedit. What's the way out?

    Hello,
    I'm trying to type my maths HW on my mac on textedit or word 2008. I'm trying to type the Z (integer symbol). Now I have found that in Special Characters in textedit but I cannot add a hot key to it for frequent use. In word 2008 I didn't find it, although I could paste it from textedit. What's the way out?

  • New-MailboxSearch with AQS for special characters

    I've been asked to perform a specific query for a term with a leading dollar sign ('$'): $123,123.00.  When I run the query for a leading dollar sign the keyword search term in the result appears as:
    Body:',123.00' 
    It doesn't work if I use a backslash literal with the dollar sign either.  The result in the report is:
    Body:' \,123.00 ' 
    Searching for Body:'123,123.00$' works: 
    Body:'123,123.00$'
    How do I search for leading special characters? Would '*123,123.00*" find the string I am looking for?

    Hi,
    I have some tests in my lab:
    1. When I run the following cmdlet, it works. I recommend you run the following cmdlet to achieve your search.
    New-MailboxSearch -Name "1" -TargetMailbox
    [email protected] -SearchQuery "$ 123,123.00"
    2. When the SearchQuery is "\123,123.00", it also works.
    3. When the SearchQuery is "*123,123.00*", it occurs the error below: Suffix matching isn't supported. Please remove the prefix '*' or type another query. The '*' character is not supported for search.
    Hope it helps.
    If you need further assistance, please feel free to let me know.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Keystroke combinations needed for special characters in specific fonts?

    How do you see the required keystrokes to enter special characters? Very frustrating!!! Using Pages to help my wife create a brochure. We wanted to use one of the symbols available in the font "Type Embellishments One LET" (which I assume installed with Pages). In Font Book we could see all the possible characters BUT NOT HOW TO TYPE THEM. We ended up typing scores of keys and keystroke combinations to finally see the one we wanted, then use cut and paste. There must be a better way but we (along with some Mac Support people at my work) cannot find it.
    Is there a way to do this without buying a program like PopChar. Seems like this should be fundamental to using a Mac out of the box.
    Thank you for any suggestions.

    You can use "Keyboard Viewer" to see what characters are created with various keystrokes. Open the International Preference Pane, click on the Input Menu tab & click the box next to Keyboard Viewer. This will make this available in your menu bar by clicking the flag icon. Select "Show Keyboard Viewer" from the flag menu & you will see a layout of the keyboard. You can then hold down the shift key, the option key OR shift + option to see all the possibilities. The highlighted ones are the accents than you can apply to letters. To get "é" type option-e (nothing will appear), then type e. This accent could be place over most letters. You can change the font in the drop-down menu. Not all fonts will have all characters. Keyboard Viewer places the typing directly into the top, open document.

  • Code to Check for Special Characters \/:*?" | in the given String

    Hi All,
    I need a java code to verify if the given string contains the Special Characters like \/:*?"<>|
    thanks
    krishnaveni

    http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html
    bye
    TPD

  • Find how may bytes or characters are occupied for Special Characters

    hi
    i would like to know how many characers are occupied for the below Russian characters. i am using UTF8 character set.
    because we need to transfer from one database to other for reporting
    inthe base databse it is stored and the field max length is 200
    and in reportiung database it is 80 char
    but when i check the direct length with length function it is showing and it is not able to fit in to the reportign database tables. can you help he to find how many characters or bytes it occupies to store in databse for these characters
    Actual Russina Characters. -------- ('óë. Ãåðîåâ-Ïàíôèëîâöåâ 22')

    Hi,
    <snip>
    how many characters or bytes it occupies
    </snip>
    you can use dump function:
    SQL> select dump(first_name)
    2 from employees
    3 where first_name = 'Peter';
    DUMP(FIRST_NAME)
    Typ=1 Len=5: 80,101,116,101,114
    <snip>
    base databse it is stored and the field max length is 200 and in reportiung database it is 80 char
    </snip>
    in the reporting database:
    alter table your_table modify column_name VARCHAR2(200);
    solved :)
    Regards,
    Tomek
    Message was edited by:
    Tomasz Tubis

  • Photoshop CS6 Type tool bug solution for special characters move to beginning of string of text

    Just started happening and it will not go away. Tried deleting test box and start over and same issue. Bracket ) moves to beginning of string but letters are fine.

    Snowball5500 wrote:
    [...] hitting the return key only moves the cursor back to the beginning of the line I'm on.
    Are you sure leading isn't set to its minimum of 0.01 pt?

  • Report link not working for special characters

    Hi
    I am passing parameters from one report to another using Column Link... Everything is working fine, with the exception when there is a special character (&) within the customer name... When I click on such links I am getting an error messge... For example:
    H&R Block became H&amp;R Block Please advice...

    Consider the translate function. I am using this successfully when passing our item numbers from one page to another.
    select '<a href=f?p=&APP_ID.:2110:&SESSION.::NO::P2110_NEW_ITEM_NBR:'
    || translate(iim.item_nbr, ' &+', 'zyx') || '>'
    || iim.item_nbr
    || '</a>' item_nbr
    from inv_item_master iim
    ...etc
    Basically, in this case, translate will replace all occurrences of space with lower case z, ampersand with lowercase y, and plus sign with lowercase x.
    Then, on the destination page, 2110 in this case, I "translate" "z" to a space, "y" to an ampersand, and "x" to a plus sign, in my report query on pg 2110.
    I'm on VPN right now so I don't have easy access to my sources, but check the Oracle SQL reference or Google oracle translate.
    Also, consider signing your post so we know who to address when we reply.
    Hope this helps,
    Gregory

  • Assign keyboard shortcuts for special characters.

    I am using Microsoft Word 08 and taking a Latin course. I want to be able to make a keyboard shortcut to insert the long symbols over vowel: Ā Ē Ī Ō Ū ā ē ī ō ū. When I go to Insert then Symbol none of these show up on the pallet. As of now I have to copy and paste every vowel individually from the save file in which it is currently written.

    I've already checked out that list, but it doesn't include the ones I'm looking for.
    Go to system prefs/international/input menu and check the box for US Extended, plus the box for "show input menu in Finder." Then select US Extended in the "flag" menu at the top right of the Finder.
    The characters you need can then be made by typing Option/alt + a, followed by the base character. Some fonts may work better than others.
    Here is a list:
    http://homepage.mac.com/thgewecke/diacritics.html

  • Experimental Web Keyboards for Special Characters

    Since the iPhone's current keyboard has only limited options in terms of characters, I put together a couple of experimental javascript keyboards for accented Latin, Russian, and Greek here
    http://homepage.mac.com/thgewecke/we.html
    http://homepage.mac.com/thgewecke/r.html
    http://homepage.mac.com/thgewecke/g.html
    if anyone would like to test them.
    Unfortunately they are useless for anything practical until copy/paste is available or someone figures out another way to move the output into Mail or other iPhone apps.

    Hi
    Please look into
    Note 1343806 - Problems with Unicode characters in non-Unicode back-end on service.sap.com.
    in a Web Dynpro application, a termination occurs in the back-end if this is not a Unicode system.
    Thanks
    Vishal Kapoor

Maybe you are looking for

  • No IP Address on wi-fi following upgrade to OSX10.8.2

    BACKGROUND I was previously running OSX 10.7.5 on my late 2011 MBP and upgraded to OSX 10.8.2. Now I can no longer connect to my wi-fi. All other devices continue to work well with my wi-fi network. THE PROBLEM I can see my wi-fi network, and the MBP

  • I want to open bookmarked pages in a new tab, like it used to, rather than having it replace the current page in the current tab. Ho do I do this?

    In earlier verisions of Firefox, when I opened bookmarked pages, they opened in a new tab. Now, in version 6.0.1, when I open a bookmark, it opens in the current tab and replaces the page I am reading. I want the bookmarks to open in a new tab just l

  • Ipod NEED HELP :)

    So am going to contact apple store to get my Ipod 8gb touch screen fixed but i was wondering how do i get all my photos back from my ipod i really don't care about my music but my pictures are the most important is there anyway i can have them transf

  • ExecuteWithParams with LOV

    Hi, I have the following query in a view object: SELECT Id, Name, CompanyId FROM persons WHERE CompanyId = :p_CompanyId Now I want to make a search page for that. I can drag the ExecuteWithParams to the page and then I get an input field for p_Compan

  • Re: Sh mac Address-table

    Does anyone remember the command to identify an ip address via mac on a host. I would like to be able to find the port and ip address information using the mac address on a 6513. thanks.