Problem in dealing with special-character filename

Hi,
I am facing a weird problem while dealing with a file which has a special character in its name. That character is the big-hyphen, i.e. '–' (not the normal hyphen we can type from keyboard), you would have seen this character in MS Word.
My java program is running on HP-UX OS, and its basically trying to copy this file to a Windows target system through socket. But while executing it, I am getting Broken Pipe Exception.
I am applying UTF-8 encoding while running my program (by specifying the argument "-Dfile.encoding=UTF-8" in the java process), and I am also confirming that the file-encoding is being applied to UTF-8 properly by putting a debug in the beginning of the program. My understanding is UTF-8 supports all the characters exist in this world.
Any suggestion / pointers would be really appreciated.
Thanks,
Rajiv

Fine..... but is there any way to know which encoding has been applied on it ..
Let's say if you create any file on unix-based system in any application, which encoding gets applied there by default ?
This file is basically nothing but an html page created using 'Save As' from the browser.
The person who has created the file is a non-technical .. and won't know much about this all stuff... encoding etc.

Similar Messages

  • How to deal with special character in source file

    Hi experts,
                      i am doing a file to file scenario in which my source file contains many special characters when i am puting this file into moni its going with the special character .My source file is a fixed length file so in content conversion i have specified the file length but due to these special charcters these field lenght is also varing.So please guide me how to deal with these special characters in sender adapter
    regards,
    Saurabh

    you could try using a Java Mapping to change the encoding manually. For that, set the encoding of the OutputFormat of the XML you'll serialize. Try the following code piece for the mapping (inside a try/catch declaration):
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder documentBuilder = factory.newDocumentBuilder();
    Document input = documentBuilder.parse(in);
    OutputFormat format = new OutputFormat(XML, "ISO-8859-1", false);
    XMLSerializer serializer = new XMLSerializer(out, format);
    For more details check this guide:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42

  • Error: Invalid dimension member with special character / in BPC NW 7.5 SP7

    Hi experts,
    We are encountering the following problem in our Financial Planning application.
    We are migrating our existing BPC solution from one server to another through backup and restore. The existing solution was on BPC NW 7.5 SP 5. The profit_centre dimension in the existing solutions has several member ids with special character '/' (forward slash). The dimension never threw an error when processed in the existing solution and there is planning transactional data against these member ids.
    While the entire configration , appset , files were successfully restored through UJBR on the new system (BPC 7.5 SP7) through UJBR (backup and restore), the masterdata could not be restored only for this Profit_centre (masterdata for other dimensions were processed successfullu). All the member ids with / are rejected for this dimension. The same error is thrown if processed through the admin client from the member sheet. 
    Error: Dimension member PC_FF/WS/NT is an invalid member ID
              Error in Admin module
    Is there any setting which need to be made to allow / character in member ids? Any suggestion to get around this problem would be much appreciated.
    Thanks
    Abhiman

    Hi Abhiman,
    Yes, you need to maintain the transformation file to correct all dimension member IDs. Can you please refer to the following link with a similar issue:
    conversion file formula not working
    Hope this helps.
    Rgds,
    Poonam

  • DIS PDF with special Character like cyrillic or chinese

    Hello,
    does anybody know how I can solve my Problem with PDF-Documents with Special Character which are Checked In (Tcode CV02N)
    If I want to open the file again, it will be downloaded to
    C:\Users\....\AppData\Local\SAP\SAPGUI\tmp\####
    and not with the Special characters.... so SAP says
    File
    C:\.......
    could not be accessed
    So is there any flag to set in the customizing that the downloaded file will be with the correct Name or any note?
    (Our System is a Unicode System)
    (my Laptop has all the Windows updates including the language packages for Russia and China)
    Thanks in advance
    Stephan

    Hello,
    the SAPhttp.exe is in the Folder:
    C:\Program Files (x86)\SAP\FrontEnd\SAPgui\Unicode
    on my laptop
    therefore I think it should be the Unicode Version?

  • Tax Code with special character

    Hello,
    WHy i am not albe to create the tax code in FTXP with special character...
    Thanks in advance,
    Vikas

    The problem is in the master data of the revenue account. the tax category should not be > and it should be *

  • Saving webi document from BOXI 3.0 in excel with special character

    Issue :Saving webi document from BOXI 3.0 in excel with special character as report name then file name in excel is not correct.
    This happens only with Mozilla, get correct file name in IE.
    Steps to Reproduce:
    1)Create a simple XI3.0 webi report through mozilla browser
    2)Save the webi report with special character name for e.g øäåýþ.
    3)Open the webi report and save it as excel or pdf file.
    4)Report name øäåýþ saved, displays with other junk characters instead of actual reporta name( øäåýþ)
    5)When saving the save report through IE browser in excel or PDF  display correct report name øäåýþ in excel and PDf file.
    Even after making changes in character encoding to UTF in the Firefox options (Content tab-> font & colors : advanced button -> Character encoding does not make any  difference.
    Has anyone came across such type of issue?
    Whether this is limitation of Firefox or bug.
    Regards,
    Ketki Fadnavis

    Issue :Saving webi document from BOXI 3.0 in excel with special character as report name then file name in excel is not correct.
    This happens only with Mozilla, get correct file name in IE.
    Steps to Reproduce:
    1)Create a simple XI3.0 webi report through mozilla browser
    2)Save the webi report with special character name for e.g øäåýþ.
    3)Open the webi report and save it as excel or pdf file.
    4)Report name øäåýþ saved, displays with other junk characters instead of actual reporta name( øäåýþ)
    5)When saving the save report through IE browser in excel or PDF  display correct report name øäåýþ in excel and PDf file.
    Even after making changes in character encoding to UTF in the Firefox options (Content tab-> font & colors : advanced button -> Character encoding does not make any  difference.
    Has anyone came across such type of issue?
    Whether this is limitation of Firefox or bug.
    Regards,
    Ketki Fadnavis

  • Material master with special character

    I want to create material master starting with special character eg #1234  but system gives a error message as
    "not defined for material type Finished products"
    Where could be the issue.
    Prasad.t.a

    What special character do you want?
    your special character is probably beyond ZZZZZ in the numenclature of characters.
    enter you special character instead of the Zs in the number range definition and try again.

  • When  I am uploading  file with special character it gives error

    Hi All,
      I am uplloading one file with special character then it gives error. Please let me know solutions on this is soon as possible.
    Thanks,
    Madhav

    hi are you looking for the file to be transferred with the special character then declare it wil the char field...and send it..
    or the special charactera are coming unnecessary use the command ............replace all occurances  to avoid this..

  • Create user with special character

    Hi,
    We are getting the error while creating a user with special character in a filed. The same user is getting created in development environment but not able to create the same in Production environment.
    We tried to check if any configurations are different but couldn't find any clue. Please help in this regards.
    +Exception caught while insertng or updating the user.java.lang.RuntimeException: javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 19 - Value of attribute "uid" contains extended (8-bit) characters: americas-Isosystem_ Serviço]; remaining name 'uid=americas-Isosystem_ Serviço, ou=People'+*
    Regards,
    Abhinav

    No there are no restrictions from LDAP,
    also I am able to give 32 character password in Coreid Console,
    it seems that the web services have a restriction on password length.
    Moreover, these web services used to accept 32 characyer passwords few months ago. we lately recognized this issue happening recent times.
    I suspect some Oracle hotfix or patch would have made the difference.
    But I am clue less how to trace it,
    Any help would be appreciated

  • Problem with special Character & in Proxy

    Hi,
    We have a File --> XI --> R/3 Scenario. In this scenario, from XI we are passing the data to R/3 by calling the Proxy. When the data in the file has special character like & (for example <Companyname>Dave&Busters</Companyname>), it is failing in R/3. But if I replace "&" with "&amp;" in the file it works fine. Is there any solution to this problem without writting custom code in XI to replace & with &amp;.
    Thanks
    Sudheer

    >But if I replace "&" with "&" in
    > the file it works fine. Is there any solution to this
    > problem without writting custom code in XI to replace
    > & with &.
    No. If the sender of the message provides an XML format with an unescaped &, then the XML is not valid and therefore cannot be processed.
    All adapters (IDOC, RFC, File with content conversion) perform the escaping and deescaping.
    Regards
    Stefan

  • Problem with special character in Unix file

    Hi All,
    Need a help here. We have unicoded our system recently.
    It's regarding a special character (umlaut) that comes through a 3rd party system to an Unix file. This gets displayed in AL11 file as # instead of ö.
    As our program picks the file from Unix, it also has the # but we want ö.
    We could have done some fixes in our code to fix if AL11 file at least had ö and we got # in our program.
    But it's the other way round. So, how can we get rid of this issue? Please suggest.
    Regards,
    Sanj.

    How Al11 is reading file ? Look for
    OPEN DATASET "yourfilename" IN TEXT MODE ENCODING DEFAULT FOR INPUT
                                  IGNORING CONVERSION ERRORS.
    If the above code is there .. you might need to play with different 'OPEN DATASET " options .
    Also look for Note 1174468 - Non-7bit-ASCII characters used in ABAP Workbench
                       Note 1227961 - Names of text fields with non-7-bit ASCII characters
    Good Luck !
    ^Saquib

  • Problem in Smartform convert to PDF with special character

    Hi ABAP Guru,
    While convert smartforms to pdf.Some special character like ( - ) convert to ( # ).In development server there is no problem but the problem arise in quality.Please help

    Hi Palash,
                  Please use PDF! in print preview command field.. it will convert pdf file.
    regards,
           Thangam.P

  • How can I deal with case-sensitive filenames referred to inconsistently inside other files?

    I have downloaded into Dreamweaver an existing web site that I'll be taking over from someone else.  The site was built with Microsoft Front Page and apparently now runs on a Windows web server.  While redesigning the site, I'd like to upload it to a web server belonging to me, where I can maintain a work in progress that is accessible to others (so they can give me input as I go along).  But my site is running on a Unix system, where filenames are case-sensitive.
    In the site I've inherited, I've discovered at least one file that is referred to in other files sometimes with one character in upper case and other places in all lower-case.  The actual filename contains the upper case character and locally, on my Windows system, it doesn't matter.  But on the server the file is not found when it is referenced in all lower-case.
    Of course, I can create an all lower-case symlink on my Unix server for the mixed-case file that I know about.  But I don't want to look through every file on the site for other files which may vary, case-wise, in how they are referenced.  Is there any way that Dreamweaver can help me;  for example, by going through and changing all mixed-case filename references inside files, to be consistent with the actual filenames?
    I know this is a lot to ask of Dreamweaver and I'm not optimistic.  But if anyone knows of a solution, I'd appreciate it.

    he means that if you use the file > find function
    (on windows this can be called upoon using CTRL + F)
    you will be able to go through all the files which are cauing you a problem and change their names so that they are all in the same case
    be warned thou
    if case sensitivity is your problem,
    and
    if some code references to your files are written in one case and some are written in the other case, simply changeing the case of the file names will not help.
    what you are trying to do will only work if
    > ALL of the file names are in one case
    or
    > ALL of the files names are the same case
    bcause this will mean you can change the one which does not always match using CTRL + F
    if there is a mix and match on both sides then you are in for a lot of work, if this problem involves multiple names then i would advise you to simply start over!

  • Often when I click on sites that offer slide show type presntations I only receive partial pictures with about 75% hidden. Dealing with the character encloding in view does not help. How do I fix?

    picture but not text is blanked out by about 75%. Dealing with character encoding does not fix the problem.

    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    Use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed the maximum file size (1 MB).
    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    *http://kb.mozillazine.org/Zoom_text_of_web_pages
    If you have increased the minimum font size then try the default setting "none" as a high value can cause issues like you described.
    * Firefox > Preferences > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    *Firefox > Preferences > Content : Fonts & Colors > Advanced > [X] "Allow pages to choose their own fonts, instead of my selections above"
    You can use an extension to set a default font size and page zoom on web pages:
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/

  • Unseen ESSId with special character - Satellite M40

    Hi,
    I have a Satellite M40 with an atheros AR5005g wireless card.
    I have a wireless network with WPA2-PSK encryption. The ssid looks like that : g4s8j6b-special character-o7v35s7gt3q1c6b8
    With the latest driver it is impossible to see the ssid an to connect to this network.
    I have tried an Atlantis USB Wireless adaptor and it can find the wirelessnetwork (I can not connect, because the USB Adapter does not supported WPA2-PSK)
    For me it is a driver 's problem. How can i solve this problem ? This "special character " is not recognising from the drivers isn't it ? is it possible to convert the ssid in HEX code and to insert the ssid in HEX code and the key in HEX code in a data, to force the connection ? (manual connection like Linux)
    yours faithfully
    Oh this forum does not support the character ... it looks like this : http://en.wikipedia.org/wiki/%C3%9F
    (Unicode U+00DF)

    Hi,
    The ssid works with my other laptop (intel Wireless pro 3945 a/b/g) on Vista and Ubuntu (manual configuration).
    The ssid can to be see with the atlantis usb wireless adapter.
    > {quote:title=[email protected] wrote:}{quote}
    > That SSID is very long. Have you tried using a shorter SSID?
    For me that not the problem. On my other Laptop, before it works with my ubuntu system i had to make clean my driver's installation. Then I have converted the ssid and the wpa2-psk key in HEX code. That's why for me, it seems to be a driver's problem but it is not to find a solution anywhere.
    How can i try to set up the ssid in HEX code and not ASCII with a win XP system ?
    Yours faithfully

Maybe you are looking for

  • Is there a way to automatically add the filename in the page header when batch printing text files directly from finder?

    hello, i have 80 text files (docx). the finder preview works great and i can open them in pages. I need to batch print them from finder: I select all the documents > drag on printer's icon> printer puts them in queue ( after an on the fly pdf convers

  • Hide page(s) and/or not allow pages to be printed?

    In Powerpoint slides can be hidden so they do not show or print. Is there a way to do this in Acrobat? We have extra pages at the end of a document as an appendix. These pages are large diagrams that are linked to small diagrams on previous pages. Wh

  • Multiple LiveStreams with FMSS

    As I can't find it anywhere else on the web please allow me to ask a quick question here: Is it possible to stream more than one signal despite of the (built-in one) live publishing-point in FMSS? I want to stream two radio stations and I need to kno

  • Rotated video clip won't import into iPhoto

    I rotated a vertical video clip shot with my digital camera using both Transform Movie and Bit PLayer. And, actually both worked great. The problem, however, is that iPhoto won't let me me import them back into my Library. Can anyone tell me why or h

  • Serial number in delivery not  coming  automatically

    Dear all , Please guide me on this We are having serial number management in our client, and we have decided for the FG the serial number will be maintained by the PP  while doing confirmation,    and this is make to order senario    so when i put a