Special Characters in include file

When I use special characters �� �� in jsp it works fine.
However, when I've these characters in a different file an d use include directive to include that file it doesn't show up(shows garbage). Any idea ?
Case 1:
jsp1:
contains �� ��
works fine
Case 2:
jsp1:contains
<%@ include file="textfile.txt" %>
textfile.txt contains: �� ��
Not working
Any idea ?

Sounds odd,
Please provide more information. But before you do try the following:
<jsp:include page="blah"/>
This works differently vis <%@ include ...%>
I hope this helps
-Richard Burton

Similar Messages

  • Write Special Characters in PDF file from SAP Script

    Hi there,
    Need a quick help...
    We are converting SAP Script to PDF using the function module CONVERT_OTF
    and saving the file on presentation server using GUI_DOWNLOAD...
    But in certain cases where the item text is maintained with some special
    characters like @#$% u03B1 u03B2 u03B3 u03B4 ®... then, some of these characters are seen
    as junk/garbage characters...
    how do we handle this??
    P.S. Our Forms are already using Korean Font...
    Any help is highly appreciated
    Kind Regards,
    Tanuja

    Hi,
    Use the FM  CONVERT_OTF to get the Binary data and  down load it as PDF .
    sample
    */ Convert the OTF data into PDF.
        call function 'CONVERT_OTF'
         exporting
           format                      = 'PDF'
         importing
           bin_filesize                = lv_bin_filesize
            bin_file                   = lv_xstring
          tables
            otf                        = lt_otf_data-otfdata[]
            lines                      = lt_pdf_data
         exceptions
           err_max_linewidth           = 1
           err_format                  = 2
           err_conv_not_possible       = 3
           err_bad_otf                 = 4
           others                      = 5  .
    */ Convert the Xstring data into PDF
        call method cl_document_bcs=>xstring_to_solix
          exporting
            ip_xstring = lv_xstring
          receiving
            rt_solix   = lt_mess_att .
    Then down load the table lt_mess_att  with extension PDF.
    Edited by: UmaMaheswaraRao Surapaneni on Apr 1, 2009 5:44 PM

  • Special Characters in the file name in Data Driven Subscription via File Share

    Hi,
    I am trying to create a Data Driven Subscription with option to delivery as  windows file share in SQL server 2005. I need to save the report as a pdf with the following file name  '[City] City_Name', but it errors out and it is because of the
    Square Brackets. Is there any way i can save the file using the Square brackets as i mentioned above.
    I am using a query to get the filename and filepath. It works fine as long as i do not have [], but i need to save the file as i mentioned along with the Square Brackets.
    Please help.

    Hello,
    I can reproduce the issue on my test environment: When I create a Data Driven Subscription and specify the report name by get from a subscription delivery table, and the value of the "report name" column contains square brackets. The subscription failed
    with following error in the error log:
    ERROR: Error occurred processing subscription ab9523a6-0256-4607-b818-a7666204d018:
    The file name is not valid. Avoid using special characters such as /\?*:<>|+,[]"& in the file name.
    notification!WindowsService_1!1f24!05/30/2014-15:31:02:: i INFO: Notification 0cf5a356-3172-4108-9d8c-58ea81a0b80a completed.  Success: False, Status: The file name is not valid. Avoid using special characters such as /\?*:<>|+,[]"& in the
    file name., DeliveryExtension: Report Server FileShare, Report: Report6, Attempt 0
    It seems that the behavior is by design. please avoid using square brackets as file name. Maybe you can try to use parentheses () instead.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Firefox doesn't reconvert special characters in the file names when download a file with any special characters in the file name

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [/questions/815207]</blockquote><br>
    if i try to download a file with any special characters in file name (e.g. File_Name.pdf), it doesn't reconvert them from the "sanitize url" process and download the file an incorrect name (e.g. File%5FName.pdf).
    This is really annoying.
    Thank you for your patient

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * [[Troubleshooting extensions and themes]]

  • Javamail API doesn't support special characters in attachment file name

    Hi,
    We are using Java Mail API to retrieve the attachment's file name, but it sometimes returns the file name as junk character (if the attachment contains special characters) and it is not able to return original file name for some attachments:
    Our code sample :
    void getFileName(Part part) {
    String fname=null;
    fname = part.getFileName();                          
    Actually the problem is with the attachment file name which contains special character. For example below is the attachment file name (please find the sample attached file which is causing this issue):
    Sample – 1234abc.doc
    From above you could see the file name contains a special character (Sample – 1234abc.doc), i.e. The character ‘–’ is not a regular hyphen character, it’s a special character. Hence the Java mail API returns the name as below:
    Sample ? 1234abc.doc
    So the special character is being replaced with ‘?’ symbol. But if I store this file in local folder and try reading the file name using Java IO packages, it returns the file name without adding ‘?’ symbol.
    Is there any way to handle such kind of special characters in Mail API?
    Regards,
    Vinodh

    We dealt with this issue in a private email conversation.
    JavaMail is returning the correct data for the filename.  The problem is in the way the filename is being displayed.

  • FrameMaker 8 Special characters in MIF file using hexcodes

    Hey,
    I'm creating a MIF-file from another system, and using hexcodes to create my special characters (\x8c for example).
    When importing it to FrameMaker 8 I'm only ending up with a space where this character is supposed to be.
    Using the same MIF-file in FrameMaker 7, it comes up with the character å(aring) as I'm expecting it to do.
    What do I do to make FrameMaker 8 read the hexcodes correctly?
    Regards,
    Monica Svanlind

    Monica,
    FM8 is now unicode aware and you should be using the unicode values
    instead of hex. If you use a codepage specific font, then using hex
    values may still display the correct character. FM8 will no longer
    display characters from Registry mapped codepages (e.g. Arial CE) for
    WGL TT and OTF Pro fonts properly - you need to use the unicode value.

  • How to reve Extra special characters from source file

    Hi all
           I am doing an file to idoc scenario in which i am using SEEBURGER BIC adapter for converting flat file to xml.My input file contain HEADER ,ITEMHEAD AND FOOTER.When i am processing an error is coming extra charcterYP persent before header.While in input file its not visible,it might be some special controll character
    my file is with utf-16 format( little endian) encoding.
    Plz share if u have any idea about the sudden occurence of special character and how to overcome it.
    Regards
    Saurabh Sharma

    sorry, i meant the code for removing the special character.
    Just a quick clarification about what i read in your previous post: that you are using a SEEBURGER adapter and in this adapter there is a module deployed called BIC which does the file to xml conversion.
    So the plan is to insert the custom adapter which will remove the extra space before the BIC adapter in Seeburger adapter right. my only assumption here is that we can add this custom adapter before bic module in Seeburger adapter module tab.
    Basically i dont no whether you have the option of adding a new adapter module in SEEBURGER ADPTER BIC MAPPING DESIGNER just like there is one in File adapter.
    Please confirm

  • Importing special characters from text file

    My project requires me to import a text file into a dynamic
    text field by using the loadVariables() function. My problem is
    that the text file contains a ampersign "&" . It seems that the
    ampersign stops the rest of the text from being imported into my
    flash movie. Is there a special character or escape character that
    I can use to allow me to import the ampersign?
    I've tried using the &amp; and setting my dynamic text
    field to HTML. No luck. Oh.. I'm using flash MX :(
    Any ideas?

    Hey I've run into this problem and found the solution lies
    with JavaScript which can read the text just fine and then parse it
    back to Flash as escape characters:
    //JavaScript code:
    var origText = 'blah blah & then i did this & then
    blah blah";
    var newText = String(escape(origText).replace(new
    RegExp('\\+', 'g'), '%2b'));
    FlashWin.sendText(newText); // << this is a reference
    to a flash window with ExternalInterface enabled
    // end
    However, I was using HttpRequest in JS to get my original
    data. So this method is dependent on something other than Flash to
    retrieve the original text (with ampersands).
    I really hope they fix this bug in the future, it can drive
    you nuts....
    -Dan

  • Unwanted / Special Characters in XML File Output

    Hello Seniors,
    I am downloading an XML File which has some code from include's. The XML file is well formatted and the output is fine when I downloaded programs. But this include is from user exits and the code has some commented lines in it also with a blank line in between. Now the problem is that I am getting a "VT" in the XML file which is an unwanted character where there is a blank line in the include "ZXRSAU01". Other than this include, all other includes are downloaded fine.
    Here is the code from the include "ZXRSAU01":
         select single * from knvv where kunnr = l_s_icctrcst-kunnr
                                    and  vkorg = l_s_icctrcst-vkorg
                                    and  vtweg = l_s_icctrcst-vtweg
                                    and  spart = l_s_icctrcst-spart.
    Here is the output in the XML File:
         select single * from knvv where kunnr = l_s_icctrcst-kunnr
                                    and  vkorg = l_s_icctrcst-vkorg VT
                                    and  vtweg = l_s_icctrcst-vtweg
                                    and  spart = l_s_icctrcst-spart.
    Please give me a solutions for this. Each of your answers are very important and will addressed with the best deserved.
    Thanks and regards,
    Chaitanya.

    Hello Madhan,
    Firstly, Thank You for the reply. We cannot remove the space in that include because the system is not the original system. Please let me inform you that this is a 4.6C system. We have used CDATA to get the code as it is onto the XML file. I observed that, firstly, the character "#" has come into the internal table with the read report itself. In the debug I saw it to be "0B" in the binary format, but in the downloaded XML file output, it is displayed as "VT". Please let me know how to get rid of this special/unwanted character.
    Thanks and regards,
    Chaitanya.

  • How do I remove spaces and special characters from the file name during rendering?

    I understand that I can set LR_renamingTokensOn to true, but I would like to replace all spaces in the file name with an underscore and remove characters not in the range A-Z and 0-9. What's the easiest way to achieve this?

    local photo = catalog:getTargetPhoto()
    local sesn = LrExportSession {
        photosToExport = { photo },
        exportSettings = {
            -- ... (determine from export preset) - whatev you want, just be sure you set export directory: LR_export_destinationPathPrefix
            LR_tokens = "{{custom_token}}",
            LR_tokenCustomString = LrPathUtils.removeExtension( photo:getFormattedMetadata( 'fileName' ) ):gsub( "[ %c]", "" ) -- remove spaces and control characters
    sesn:doExportOnNewTask()

  • INSO-filter doesn't work correct with german special characters in pdf-files

    During testing the interMedia Text I watched that some words from pdf-files are not indexed. That's why I use the INSO-filter at the DOS command-line:
    ctxhx xxx.pdf xxx.txt <<The xxx.pdf-file includes the phrase:
    "... generell |berwiegende vffentliche Interessen im Sinne ..."
    The result in the xxx.txt-file is:
    "... generell |berwiegende Interessen im Sinne ..."
    The word "vffentliche" is lost. Is this a bug in INSO-filter or an incorrect using?
    Thanks for helping.
    Michael

    Actually, The inso filters do not even work for me for PDF file versions 1.2+. Is anyone else experiencing the same difficulties ? How often does Oracle update the INSO filters to keep up with vendors (Adobe/Microsoft) coming out with newer versions of their document products ?
    null

  • Special Characters in text files

    I'm working on trying the evdev driver with my Microsoft Explorer mouse.  The info that I found says to pay particular attention to the name result of
    egrep /proc/bus/input/devices
    The name of the mouse there contains an unprintable character on my command line; bringing it up in an X window shows it to be the registration mark (a circle with an R in it). 
    If I just copy that into the xorg.conf file while in X, it comes out as a capital R at the end of the name.
    Maybe it's important, and maybe it isn't (I haven't been able to get the driver to load), but how do you enter such a character at the command line or in a conf file?

    Check out the Character Map - it will give you a lot of hints regarding your last question - regarding the evdev driver - you can achieve nearly all it promises using default tweaking possiblities in xorg.conf since version 7.

  • 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

  • Special characters in file name of attachment...

    Hello,
    I attached a file in SC which had # in the file name. I was not able to open the attachment... Is there any restrictions on using the special characters in attachment file name?
    Regards
    Amit

    Hi. Yes, we had the exact same thing. If the file name is not A to Z or 0 to 9 it can not be opened.
    I think we asked SAP and there was no solution for our system.
    I think it depends on your file system and things like that though.
    Regards,
    Dave.

  • Load special characters in oracle by using informatica

    Hi All,  I'm trying to load data from flat file to oracle databse table using Informatica power center 9.1.0 and I have some special characters in source file. Data are loaded sucessfully without any errors but these special characters are loaded different way like 1) Planner – loaded as Planner ��������2) Háiréch  loaded as Hair��������ch  While same flatfile loaded into another flatfile,data loaded correctly including special characters.So,I am unable to understand problem with database or informatica.   SourceFlat File - comma ',' delimtedCode page is defined as UTF-8 encoding of Unicode Relational connectionI have tried by changing the code page while creating relational connection in Informatica to UTF-8, ISO 8859-1 Western European,  MS Windows Latin 1 etc.,didn't work. InformaticaIntegration Service and Repo code page is defined as UTF8Data movement code page of Integration server was set to UNICODE   TargetOracle databaseNLS_NCHAR_CHARACTERSET: AL16UTF16NLS_CHARACTERSET: AL32UTF8   ThanksSai

    Hi All,  I'm trying to load data from flat file to oracle databse table using Informatica power center 9.1.0 and I have some special characters in source file. Data are loaded sucessfully without any errors but these special characters are loaded different way like 1) Planner – loaded as Planner ��������2) Háiréch  loaded as Hair��������ch  While same flatfile loaded into another flatfile,data loaded correctly including special characters.So,I am unable to understand problem with database or informatica.   SourceFlat File - comma ',' delimtedCode page is defined as UTF-8 encoding of Unicode Relational connectionI have tried by changing the code page while creating relational connection in Informatica to UTF-8, ISO 8859-1 Western European,  MS Windows Latin 1 etc.,didn't work. InformaticaIntegration Service and Repo code page is defined as UTF8Data movement code page of Integration server was set to UNICODE   TargetOracle databaseNLS_NCHAR_CHARACTERSET: AL16UTF16NLS_CHARACTERSET: AL32UTF8   ThanksSai

Maybe you are looking for

  • Need help adding a page to an existing website

    Hey guys....I'm, as the subject states, a newbie to Dreamweaver.  I am needing to add a page to an existing website.  Simple enough...or so it seems...anyway, I went to the site, copied the source coding, went back to Dreamweaver, pasted into the cod

  • How can I import or convert a .swf file into iMovie 8

    I've been searching with no luck for a way to convert a flash animation (.swf) file into a format that I can import into iMovie 8. Ideally, this would involve freeware or very inexpensive software. It is important that I maintain the quality (and aud

  • Printing a numbers spreadsheet

    Hi, Is it possible to print out all the numbers that appear in the column on the left of every sheet including all my text that I have entered under each letter of the alphabet? As an example I had a alphabetical index in AW which always printed the

  • Why there is no application in workspace?

    hi,I'm new to BPMN.When I mapping swim lane roles to LDAP roles, I create some users in the security realm. But afer I login to the workspace, I can't find applications.

  • WLS 8.1 cookies

    I'm attempting to document our site's use of cookies and am therefore interested in any of the cookies that WLS generates for me. The JSESSIONID cookie is the only one that has been documented, but I am also noticing (in Mozilla) that an individual "