Non-alphanumeric chars replaced with underscore when saving long filenames

Hi,
I have a java application that streams a byte array (content type: 'application/pdf') to an Internet Explorer window. The PDF displays fine, in an embedded version of Adobe Reader 8. However, if I click on the Adobe 'Save' button then the filename gets changed as follows:
PDF URL: http://localhost:8080/mcs/ctrl/flowOpenJobPDFWindow/AP1070.pdf?veryLongQueryString...
PDF filename: http___localhost_8080_mcs_ctrl_flowOpenJobPDFWindow_AP1070.pdf
Anything that isn't alphanumeric is converted into an underscore character. I would expect, and need, the file to be named something like 'AP1070.pdf'.
I think this has something to do with the fact that I am streaming content to IE because if I point an IE window to an identical file that actually exists on the server then the filename when saving does look like 'AP1070.pdf', regardless of the length of the URL or querystring. Does adobe reader expect something in the header to stop this happening?
I can provide java code if this would be useful, or any other information required. If you think this is more likely to be a java issue then I thank you for your time and will raise on a java forum.
Environment:
Windows XP Professional Version 2002 Service Pack 2.
Adobe Reader 8.
Internet Explorer 7.0.5730.11
Many thanks,

You can give feedback to Apple at their Feedback Page.

Similar Messages

  • Full Stop Replaced with UnderScore when downloading

    I've been having an issue download files from IE9.
    1. Any file i download has the full stop replaced with an underscore before the file extension.
    2. Some downloads try downloading a PHP file instead of th requested file.
    3. The Download prompt bar remains on the screen, until i click Open or Save.  Cancel does not remove the download bar.
    4. The first attempt always fails and reports that the file couldn't be downloaded and i have to click retry for every file.
    I have tried removing and re-installing IE and running with Add-ons disabled but still having the same issue.
    Any help, suggestions or solutions would be appreciated.

    Any help, suggestions or solutions would be appreciated.
    http://answers.microsoft.com/en-us/ie/forum/ie9-windows_7/the-dot-in-download-filenames-always-gets-changed/57b6b7c4-75c3-4a7a-ad45-1debfbe5ebae
    I still think diagnosis may be required but it appears that a workaround has been found.
    In another thread a safe mode boot was found to be a workaround, doubling my conviction that diagnosis would be required.
    http://answers.microsoft.com/en-us/ie/forum/ie9-windows_7/why-does-internet-explorer-replace-with/7cec07db-9392-4064-9eb0-f1be6a158a7b
    FWIW my guess for that one would be the user's AV package.   <eg>
    In fact, perhaps that interferer would step out of the way when   Protected Mode   is unchecked?   Etc.
    Good luck
    Robert Aldwinckle

  • Problem with lowercase when saving in custom SAP table.

    Hi Gurus,
    I have a problem in saving entries in a custom table in SAP.
    When I enter a name with combinations of upper and lower case in SE16, when saving, my entries were all converted into uppercase. That goes as well in passwords. That's my concern, how can I check passwords if combinations were disregarded?
    My parameter fields for these were just type CHAR.
    Is there a way I can save data as how they were entered?
    Thank you in advance for your responses Gurus...

    Hi,
    Check the Domain of the field and select Lower case check box if it is a Zdomain or else create the new domain or check for one like this.For example..
    Table PA0002 which has a field NACHN and Data element assigned to it is PAD_NACHN...double click on the Data element and now again double click on the Domain and now Under Ouput Characteristics check the Lower Case check.
    And now database get's saved with what ever case you entered

  • Punctuation sometimes being replaced with "?" when published

    Hello,
    Every once in a while, when a page has been updated, most of the punctuation is being replaced with question marks (?).
    I've since gone in a second time and changed the question marks to the proper punctuation and the page published properly.
    Any thoughts?
    Thanks,
    Kagan Mustafa
    xod Media
    www.xodmedia.com

    Hello Kagan,
    I noticed on both of the pages, your charset is defined as:
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    Please try changing it to UTF-8 and see if this resolves the problem:
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    Best regards,
    Corey

  • How to get captions to go with pictures when saving to a flash drive?

    I JUST SPENT ABOUT 2 WEEKS GETTING NAMES OF PEOPLE AT MY GRANDDAUGHTERS WEDDING AND ADDING TO THE CAPTIONS ALONG WITH PLACE PICTURE WAS TAKEN AND DATE. 
    i JUST COPIED  AND PASTED THEM FROM ADOBE PHOTOSHOP ELEMENTS 10 TO A FLASH DRIVE.  HOWEVER, NO CAPTIONS.  hOW DO i DO THAT?????

    OK, for your family to do that, you don't really want to have the caption written on the picture:  for them to "delete it to print just the picture", that caption would have to be saved as a separate layer, and the image saved in a format that supports layers like PSD or TIF.  Then, your family members would have to mess around with some kind of image editing software that would allow them to hide that layer with the caption before printing it, and so on....
    Here's what to try (and you can test the procedure yourself on your computer):
    Right-click on a photo in the Organizer and choose "Add Caption".
    Write your caption and click "OK".
    Use File...Export As New File(s) to export that image to your flash drive.
    Use Windows Explorer to look at the image on your flash drive.  At the bottom of the Windows Explorer window, you'll see the various pieces of info about the picture, and your caption will be listed as the "Title".
    Although you have to do steps 1 and 2 one-at-a-time for each photo, when you're done with those steps, you can highlight all the images and do step 3 for all of them at once.
    Does that accomplish what you're looking for?
    Ken

  • Validation of non alphanumeric chars in a JavaBean method

    Hello people,
    does anyone have any tips on writing a method for a Java Bean that can take in a String param and check to see if it contains chars such as ' or " (quatation or double-quotation marks).
    I need to preferably be able to convert them to enable their insertion to an SQL statement, writing to a database, or to strip them out.
    I'm sure a lot of you know the problems of inserting these types into SQL to write to a db....
    I realise that Perl or perhaps Javascript could do this, but I want to use server-side Java.
    Thanks
    Mike

    I want to be able to insert Strings such as: "the
    coursework's mark was 90%" - including the '
    (apostrophe), but SQL won't let you do that, I get an
    error in the SQL query execution.That's funny, I can insert those characters directly into a MySQL database using JDBC and a PreparedStatement. The SQL I'm using let's me do precisely that, percent signs and apostrophes included... :)
    String dataString = "the coursework's mark was 90%";
    String sql = "INSERT INTO table (column1) VALUES (?)";
    PreparedStatement ps = conn.prepareStatement(sql);
    ps.setString(1, dataString);
    ps.executeQuery; // inserts apostrophe and percent sign
                     // without a problem...

  • Photoshop Elements 8-Change of file format when saving deletes filename

    I have been using Photoshop Elements 8 since last May and have always been irritated that when I add text to a photo it always defaults to PSD format for saving.  I have gone to the preference options to see if I can set jpg as the default and it does not offer that option.  This means that every time I save after adding text I have to manually select jpg to get the format to change.
    Although this has been a pain, I have done it thousands of times as I have edited photos.
    My problem is that suddenly from one day to the next when I change from PSD option to jpg the filename disappears and I have to go back and manually type in the whole filename.  The only changes to my computer settings that I can think of that might have affected this is that Microsoft Updates had 2 updates.  First was Definition for Windows Defender-KB915597 and the other was Unpdate for Windows 7 for x64 based systems-KB97690.
    I saw a similar problem posted by sandwitch2 on Feb. 13th about PSE6.  99jon suggested the change to permissions of adding "everyone".  I tried this and it did not correct the problem.
    Any other suggestions are welcome.
    I have found Adobe's insistance on saving as PSD irritating to say the least in the past.  The inability to change this in preferences has made me very unhappy, but the quality of their product has outweighed the hoops they make me jump through until this.  Their search feature in support is pretty much worthless.  It either brings up nothing if you keyword is to limiting or brings up 200 responses if it if too broad.
    I have been a user of Photoshop Elements for over 6 years updating as new editions have come out. I am to the point that if I can't get this current problem fixed I am uninstalling Elements 8 and going to another software.  Adobe's proprietary requirements and poor support page are just too much of a pain to deal with.

    I was told that if I save in PSD if I send the photos to share with others only those with Photoshop Elements can open the files.  That is why I try to use jpg.  Is that true?
    Thanks for all the help from both of you,
    Bettye

  • How to replace ComboBoxCell with TextFieldCell when not editing

    Hi,
    I want to replace the ComboBoxCell with TextFieldCell when I am not editing the cell and shall be replaced with ComboBoxCell when clicked on that particular cell. Any pointers highly appreciable.
    Regards
    symadept

    If I replace the netgear with the TC is there a way of doing so that won't cause me to have to re-enter wireless info and passwords for all my devices that connect to the internet (iphones, ipads, apple tv, wii, other computers, sonos, etc........).
    Sorry, but no.
    Another thing to think about is that your Netgear device may likely be both a modem and router in one package. If that is the case, you will still need to use the Netgear device, even if you do add the Time Capsule.....since the Time Capsule has no modem on board.

  • Char '¦' gets replaced with '|' in sp source when restoring a data base.

    char '¦' gets replaced with '|' in sp source when restoring a data base. This makes the procedure put a character for separating a string different (|) from the espected one (¦). And this makes the application failed.
    Can anyone help me out?
    Thanks,
    Frank

    I'll follow the thread in Data Base - General from now on.
    In case u see this one first:
    To ALL:
    Thanks 355099, Joel, and Justin:
    Oracle9i Enterprise Edition Release 9.2.0.4.0
    Charset: ?? I'll will ask the data base guy. (we are preaty small). It is reported as a bug in my system, the thing is I usually do not program against this kind of bug. :)
    Anyways, the usage is as follows, this guy uses an empty restore to install the database for application installation purposes.
    instaed of running some scripts the test for the instalation is done as a restore.
    import/export is the action being done here.
    Again I use the ¦ char to separate a string array.
    Something to consider is that the chars are:
    124 | and 166 ¦
    They are both ascii aren't they?
    Why would the impor/export change the char ¦ for |?
    if is a charset problem why isn't the changed char a ? or a # or a 9 or a non printable char, instead it changes for a |.
    x_x
    Frank

  • UploadedFile and filenames with non-ascii chars

    Hi
    I'm using an UploadedFile object in my web app, and all works fine. However, when I try to upload a file, with a filename containing non-ascii chars (e.g. Spanish), I see that the getBytes method returns an empty byte array, the filename is not stored correctly (the non-ascii chars are lost, replaced by another representation), and that the content-type is application/octet-stream instead of image/png as supposed to be.
    If I rename that same file to have only ascii chars - everything is back to normal.
    How can I upload files with non-ascii chars in their name?

    Hi, back! Spent a few hours experimenting and found
    that everything is working great (including the creation
    of international non-ASCII foldernames) when I used
    utf-8 encoding in the sieve filters rules for the
    the match strings and the folder names... at least
    so far so good... for your ref and sorry for bothering.

  • NON English chars are saved as "?"

    I try to update large amount of chars to both SQL server(or MSDE) and
    MS Access.
    when I use the following :
    byte[] data = str.getBytes("ISO-8859-1");
    ByteArrayInputStream bais = new ByteArrayInputStream(data);
    ps.setAsciiStream(parameterIndex,bais,data.length);
    the text is save correctly to MS Access but in MSDE it is saved as "?"
    (I have installed it with the correct collation=hebrew_ci_ai and the regional settings are correct)
    When I used ps.setCharacterStream() is saved the data o.k in MSDE but with MS Access an exception accoured when saving a large amount of text ..
    Any Ideas what can work for both DBs ?
    THANKS !

    SanskritFritz wrote:
    That should be "es_ES.utf8"
    Sorry, i mispelled it in the post.
    Of course, my locale is es_ES.utf8:
    LANG=es_ES.utf8
    LC_CTYPE="es_ES.utf8"
    LC_NUMERIC="es_ES.utf8"
    LC_TIME="es_ES.utf8"
    LC_COLLATE=C
    LC_MONETARY="es_ES.utf8"
    LC_MESSAGES="es_ES.utf8"
    LC_PAPER="es_ES.utf8"
    LC_NAME="es_ES.utf8"
    LC_ADDRESS="es_ES.utf8"
    LC_TELEPHONE="es_ES.utf8"
    LC_MEASUREMENT="es_ES.utf8"
    LC_IDENTIFICATION="es_ES.utf8"
    LC_ALL=
    I don't think this could be the source of the problem, because, except in the places I said in the firs post, the rest of my system works perfectly.

  • I have a problem with itunes when I sync the saved music and want to sync my iphone 5 ios 7.0.6 no longer passes the music thing is that just stays on "waiting for sync" and not worry please help are more than 400 songs that do not want to hear who are wi

    I have a problem with itunes when I sync the saved music and want to sync my iphone 5 ios 7.0.6 no longer passes the music thing is that just stays on "waiting for sync" and not worry please help are more than 400 songs that do not want to hear who are wi

    Plawexki wrote:
    ...  do you know if the contacts, photos, messages etc will be wiped?
    Yes... Everything will be Wiped and Replaced with what is currently on Your Mac.
    SYNCING with iTunes
    See here  >  http://support.apple.com/kb/HT1386
    From Here  >  http://www.apple.com/support/iphone/syncing/
    You may find this information of interest...
    Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And See Here...
    How to Use Multiple iDevices with One Computer

  • How to support non alphanumeric characters when using WORLD_LEXER?

    BASIC_LEXER has an attribute of printjoins which we can specify the non alphanumberic characters as normal alphanumberic in query and included with the token. However, WORLD_LEXER doesn't have this attribute. So in order to use some non alphanumberic characters and treat them as alphanumberic characters in Oracle Text Index, such as ><$, what should I can?
    Thanks in advance for any help.

    I use WORLD_LEXER to create Oracle Text Index to support UTF-8.
    Below is the script to create table and index:
    REM Create table
    CREATE TABLE my_test
    ( id VARCHAR2(32 BYTE) NOT NULL,
    code VARCHAR2(100 BYTE) NOT NULL,
         CONSTRAINT "my_test_pk" PRIMARY KEY ("id"));
    REM create index
    exec ctx_ddl.create_preference('stars_lexer','WORLD_LEXER');
    exec ctx_ddl.create_preference('stars_wordlist', 'BASIC_WORDLIST');
    exec ctx_ddl.set_attribute('stars_wordlist','substring_index','TRUE');
    exec ctx_ddl.set_attribute('stars_wordlist','PREFIX_INDEX','TRUE');
    -- create index for Table corrosion level
    CREATE INDEX my_test_index
    ON my_test(code)
    INDEXTYPE IS CTXSYS.CONTEXT
    PARAMETERS ('LEXER stars_lexer STOPLIST stars_stop WORDLIST stars_wordlist SYNC(EVERY "SYSDATE+5/1440") TRANSACTIONAL');
    INSERT INTO my_test('1', 'English word1');
    INSERT INTO my_test('2', '违违');
    INSERT INTO my_test('3', '违违&^|违违');
    When I query:
    select * from corrosion_levels r where contains(r.CORROSION_LEVEL, '{%违${|违%}') > 0
    ID CODE
    3 违违$(|违违
    2 违违
    Actually, the result what I want is: 3 违违$(|违违
    So the requirement is that all non-alphanumeric characters should be treated as normal alphanumeric charcters. Please tell me how to implement it.

  • When working in my photo album in iphoto my photos are replaced with a grey box and an !. I can't see the image on the page.

    Lately when I am working in my photo album in iPhoto my images are replaced with a grey box and an ! . I can't see the images on the page. All my photos are high quality.  What am I doing wrong?

    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • When i go to sync my apps with my computer it tells me  ''are you sure you want to sync apps ? all exsisting apps and there data on (iphone) will be replaced with the apps on this itunes library'' does this mean all my data will be lost if i continue ?

    when i go to sync my apps with my computer it tells me  ''are you sure you want to sync apps ? all exsisting apps and there data on (iphone) will be replaced with the apps on this itunes library'' does this mean all my data will be lost if i continue ?

    Regarding your broken, previously authorized computer, here's how that works:
    You would authorize your new computer -- maybe you've done that already.  Then you will have two computers authorized.  Apple allows you to have up to five computers authorized at any time.  If you get to five, you can then go to your account details in iTunes and remove all authorizations.
    Bear in mind this is not saying you can synch to more tham one library.  Razmee209 and gdgmacguy's comments above are correct.  But if Apple only allowed you to authorize one computer at a time, then having a broken computer would mean you could no longer use your Apple ID with iTunes.

Maybe you are looking for

  • Goods receipt / issue form

    Hi :    Is there any standard smartform for Goods receipt / Goods issue slip ? How to create a customizing form using smartforms when a material document is created and saved . Thx. Raghu

  • HT1349 my phone broke but i don't have the serial number

    I was trying to setup an appointment for repair; however i do not have my serial number... the phone is completly brooken.. while driving one of my kids through it out the window..  is there any way i can still change my phone? i have full apple care

  • Most Frustrating Can't Upgrade DRM License For Windows Media Player 12 On Windows 8.1

    I am very upset. I have been trying ALL DAY to get the DRM license so I can play music that I BROUGHT and PAID for years ago. Why did the DRM license not come with WMP 12 before it got uploaded to PCs run Windows 8.1? Can you just send an update that

  • Cookie Cutter Tool in Photoshop Elements 11

    I am unable to make a shape from a photo using the Cookie Cutter Tool. I duplicated the photo. Clicked on cookie cutter icon. Created shape. Clicked on green check mark. The new layer is transparent. I cannot make the shape appear. Thanks. Helen

  • Purchase Requistion : ME52n/ME53n Total Value

    Hi Is it possible to add a field next to the purchase requisition number or in the top quarter of the screen . I want to total the valuation price into the field. Thanks