Encoding issue in properties files generated with l10n tooling

Hello,
I recently try to alter my encoding settings as follows :
* UTF-8 as workbench default, and for all content types
* one exception : ISO-8859-1 for *.properties files (in order to conform to the specs of this format).
Now this gives me an issue when using the l10n tooling: apparently, all the generated properties files are encoded in UTF-8 (the new workbench default), ignoring the content type specific settings.
The sad result : hieroglyps.
Isn't there any way for me to specify the generated properties files should be encoded in ISO-8859-1... ?
Thomas

please file a bug we need generate those files in 8859-1 all time
because this is what the spec says.
Tom
On 27.07.15 17:18, Thomas Elskens wrote:
> Hello,
>
> I recently try to alter my encoding settings as follows :
> * UTF-8 as workbench default, and for all content types
> * one exception : ISO-8859-1 for *.properties files (in order to conform
> to the specs of this format).
> Now this gives me an issue when using the l10n tooling: apparently, all
> the generated properties files are encoded in UTF-8 (the new workbench
> default), ignoring the content type specific settings.
> The sad result : hieroglyps.
> Isn't there any way for me to specify the generated properties files
> should be encoded in ISO-8859-1... ?
>
> Thomas

Similar Messages

  • Properties file generated by netweaver

    Hallo,
    Can I use the properties files generated by netweaver using I18N tools (wdcontroller.xlf ==> I18N tools ==> create properties files ) for a general use instead of an external manually generated properties file ?
    Thanks,
    regards,
    Andrea

    I think you are talking about the internastionaization concept in the webdynpro application, actually the propetieas file will create automatically whne u save your XLF with the changing of the text. but you can create it your self in which way ur telling is correct.
    may be it will helpful for you,
    Chees,
    Apparao

  • Lightroom 5.6 does not recognize nef (RAW) image files generated with the new Nikon D750: who can help here or knows what to do? Thanks, Peter

    New Nikon D750:
    Lightroom 5.6 does not recognize nef (RAW) image files generated with the new Nikon D750: who can help here or knows what to do? Thanks, Peter

    LR 5.6 doesn't support the new Nikon D750. You have to wait to the next update.
    You con also install the release candidate of the DNG converter and convert your NEF files to dng.
    http://blogs.adobe.com/lightroomjournal/2014/10/1366.html
    Axel

  • During receipt validation; the first step ie, adding the files generated by asn1c tool causes errors.. especially with the

    During receipt validation; the first step ie, adding the files generated by asn1c tool causes errors.. especially with the #include statements
    --No such directory or file..
    Why this is happening??

    I am adding one more thing..
    Do we need to mention any linkage or frameworks or such while we are adding a .c file to
    Cocoa Mac OS Project

  • Open in same window and clean cache from swf + html file generate with InDesign CS5

    Hi,
    1)
    I have a Indesign web file exported to swf + html.
    In my document I have a button that point to url (this url is html file of a second Indesign swf + html).
    When I click on button, the url was find an open in another window.
    Is it possible to open this second url in the same window?
    If yes How.
    I think this information is in the swf file and not in html.(How modify the swf code?)
    2)
    How to clean the cache when you reload the url? (in the html generate file)
    I'will very please if somebody of you could help me. it's Important for me.
    Regards
    Philippe

    Okay, I found the code but I can't get it to work locally.  If you have a web server maybe you can upload the files (swf and html) after you Publish them:
    import flash.net.URLRequest;
    import flash.events.MouseEvent;
    var myURL:URLRequest = new URLRequest ("http://www.google.com");
    testlink.addEventListener(MouseEvent.CLICK, clickText);
    function clickText(myevent:MouseEvent):void {
    navigateToURL(myURL, "_self");
    you have to have on the stage a link element called "testlink" (see the code above) which would be a Movie Clip with the label testlink.  It can be anything from InDesign:  a button, a rectangle, a circle, a graphic, you get the idea.  Just select that object in Flash and label it testlink or anything you choose but if you change the name from testlink also change the name in the code snippet where the line "addEventListener" is.

  • Encoding issue in importing file using myfaces

    Hi,
    I are trying to upload a XML file (with UTF-8 encoding) in our JSF UI using myfaces "inputFileUpload" option. But when I am trying to read the file using org.apache.myfaces.custom.fileupload.UploadedFile.getInputStream() API, looks like the encoding is not being preserved and I am getting Scandinavian characters as ‘?’. I have checked this by writing the read contents to a file via stream which is UTF-8 encoded.
    How can I preserve the character encoding while reading from the uploaded file?
    Thanks.

    Since UploadedFile.getInputStream() returns an InputStream, you can impose the character encoding when you wrap it with a Reader.

  • Inter-book links not working files generated with Acrobat 9 Pro

    Dear All,
    We're using TCS 2.5 and generating PDF using Acrobat Pro Extended 9 from our FM 9 guides. We have many links between guides and these links no longer work. Now only the xrefs within a guide work.
    We have the same relative paths for the FM guides and PDF and keep all the guides open when generating them and when generating the PDFs.
    The links appear active (acrobat displays the little hand) but when you click the link nothing happens.
    We have no problems using FM 9 with Distiller 7, but we've upgraded to TCS on some machines and this is where we're having this problem (on machines with Acrobat Pro Extended 9). Does anyone know if this is a bug? or a conversion setting that we don't know about?
    Thank you for any help or suggestions you can provide!
    Regards,
    Susanne

    I've found that down loading the PDF file to the Nook and using Acrobat  reader allows the links to work, however this is way cumbersome, any way to work on files directly on Acorbat.com?

  • Printing DOC files generated with RH HTML

    I've generated 7 DOC files from my project (took 3hrs). They
    all opened OK when generation was complete and I did a SAVE AS to
    my jump-drive.
    Now when I come to open them on 3 different PC's (incl the
    one I generated the files on , Word just stops, and I have to creah
    out of it. I've tried this with the smallest doc (4pgs) and the
    same thing happens.
    Well I'm now confused as there was no prob during the
    generation.
    By the way - if I generate then with PDF output option all is
    OK
    Yours Confused
    Al

    I have looked in Preferences and cannot find anything that seems to address these added-in headers and footers.
    Aha! There is no Create from Web menu in Acrobat. But there is a Create menu, with the item Create PDF from Web Page, which opens a small deceptively simple dialog. It has a URL field and a few buttons, one of which is Settings. Settings opens a two-tab dialog. On the General page, there is a "PDF settings called Place headers and footers on new page." It was selected. I deselected it, and that did the trick.
    I would have thought to find a setting like this instead on the Page Layout page. And, either way, this is a deeply buried setting. It ought to have been in Preferences.
    Thanks!

  • Weird Files Generated with Attachments when Sent to Windows

    When I attach a file to an email message and send it to a windows user, a file like "ATT341087.htm" is generated and appears below the file I attach.
    "Always Send Windows Friendly Attachments" is checked.
    Any idea what this is?

    Are you using RTF for message composition along with a signature?
    Try using Plain Text for message composition the next time you are sending an attachment to this recipient to see if the same occurs.

  • Encoding issue in receiver file adapter

    Hi experts,
    I am having a file to file scenario using integrated configuration where i am using file encoding 'US-ASCII' for converting the target file to ASCII and its not working.
    Is there any other settings need to be done in the receiver file adapter to convert to 'ASCII' encoding format?
    Do we have any other method to convert to 'ASCII' format for the receiver file?
    .txt file is used for this interface.
    Thanks!

    Hi Mahakrishnan,
    What is the format of file mentioned in sender file adapter? If SAP-PI is receiving File format in US-ASCII. Then mention US-ASCII in sender communication channel in file encoding field,file type will be text. In case the file format  received by SAP-PI is normal text file then by default sender adapter will convert it to UTF-8. Maintain the  file type=text and encoding=US-ASCII for receiver file adapter also.
    ASCII is an alias for US-ASCII file encoding, hence both mean the same encoding. Thus this format should work. If its still not working please refer to SAP note 821267.
    Regards
    Anupam
    Edited by: anupamsap on Mar 9, 2012 5:47 AM

  • Problems with CRC in some windows app's whit zip files generated with Java

    Hello,
    That is very strange but, we have an app for compressing a folder into a zip. For making, we use the Java.Util.Zip API. Our zip file looks fine, we can unzip the files into another folder without problems, even we can open the file with Winzip or Winrar.
    But, we had encountered problems with anothers win apps like "Recovery ToolBox", or another win app built with the "Dynazip.dll" library. This apps give us the next error.
    "Bad Crc".
    But if we unzip this "corrupt" file and we zip the content again, all work without errors.
    [http://img297.imageshack.us/i/dibujoou.jpg/]
    Our code (this function only zips a single file):
        public static File zipFile(String sFile, String sNameFileIn, String sFileOut)
                throws IOException {
            File file = new File(sFile);
            FileOutputStream out = new FileOutputStream(sFileOut);
            FileInputStream fin = new FileInputStream(file);
            byte[] fileContent = new byte[(int) file.length()];
            fin.read(fileContent);
            ByteArrayOutputStream bout = new ByteArrayOutputStream();
            ZipOutputStream zout = new ZipOutputStream(bout);
            ZipEntry zipEntry = new ZipEntry(sNameFileIn);
            zout.putNextEntry(zipEntry);
            zout.write(fileContent, 0, fileContent.length);
            zout.closeEntry();
            zout.finish();
            zout.flush();
            zout.close();
            out.write(bout.toByteArray());
            out.flush();
            out.close();
            File fich = new File(sFileOut);
            fin.close();
            return fich;
        }I try to calculate the crc number for my own without success... I don't know what's happening
    Thanks in advance

    FileOutputStream out = new FileOutputStream(sFileOut);ZipOutputStream zout = new ZipOutputStream(new FileOutputStream(sFileOut));
    byte[] fileContent = new byte[(int) file.length()];Here you are assuming the file size is <= Integer.MAX_VALUE. What if it isn't? Remove.
    fin.read(fileContent);Here you are assuming you filled the buffer. There is nothing in the API specification to warrant that assumption. Remove. See below.
    ByteArrayOutputStream bout = new ByteArrayOutputStream();
    ZipOutputStream zout = new ZipOutputStream(bout);Remove.
    ZipEntry zipEntry = new ZipEntry(sNameFileIn);
    zout.putNextEntry(zipEntry);Correct.
    zout.write(fileContent, 0, fileContent.length);int count;
    byte[] buffer = new byte[8192];
    while ((count = fin.read(buffer)) > 0)
    zout.write(buffer, 0, count);
    zout.closeEntry();Correct.
    zout.finish();
    zout.flush();Redundant but not incorrect.
    zout.close();Correct.
    out.write(bout.toByteArray());
    out.flush();
    out.close();Remove.
    File fich = new File(sFileOut);
    fin.close();
    return fich;I don't know why this method returns a File constructed out of one of its own arguments, which the caller could equally well do for himself, otherwise OK.

  • B1if B12FileScenario where .csv file generate with Blank sheet

    Dear Expert,
    I had gone through 3_B1ifB12FileScenario document, I fallow each step. Even my file created on C:\ drive show blank.
    When I see Below Syntax
    <xsl:template name="transform">
              <FileOut xmlns="" type="file">
                   <xsl:for-each select="$msg/BOM/BO/Document_Lines/*">
                        <row>
                             <col>
                                  <xsl:value-of select="$msg/BOM/BO/Documents/row/CardCode">
    </xsl:value-of>
                             </col>
                             <col>
                                  <xsl:value-of select="ItemCode">
    </xsl:value-of>
                             </col>
                             <col>
                                  <xsl:value-of select="Quantity">
    </xsl:value-of>
                             </col>
                             <col>
                                  <xsl:value-of select="LineNum">
    </xsl:value-of>
                             </col>
                             <col>
                                  <xsl:value-of select="Price">
    </xsl:value-of>
                             </col>
                        </row>
                   </xsl:for-each>
              </FileOut>
         </xsl:template>
    </xsl:stylesheet>
    And get output as below
    - <Payload Role="R" id="atom0">
    - <FileOut xmlns="" type="file">
    - <row>
      <col>M00001</col>
      <col>C00007</col>
      <col>1.000000</col>
      <col>0</col>
      <col>250.000000</col>
      </row>
      </FileOut>
      </Payload>
    - <Payload Role="R2">
      <bfa:io xmlns:bfa="urn:com.sap.b1i.bizprocessor:bizatoms">==== data-length: 0 ====</bfa:io>
      </Payload>
    Can any way say, why csv file is blank...
    Thanks
    Kevin

    hi,
    I think your find the solution, I have the csv file that is blank
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:b1e="urn:com.sap.b1i.sim:b1event" xmlns:b1ie="urn:com.sap.b1i.sim:b1ievent" xmlns:bfa="urn:com.sap.b1i.bizprocessor:bizatoms" xmlns:jdbc="urn:com.sap.b1i.adapter:jdbcadapter" xmlns:rfc="urn:sap-com:document:sap:rfc:functions" xmlns:sim="urn:com.sap.b1i.sim:entity" xmlns:vpf="urn:com.sap.b1i.vplatform:entity" xmlns:xci="urn:com.sap.b1i.xcellerator:intdoc" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" bfa:force="" vpf:force="" jdbc:force="" rfc:force="" b1ie:force="" b1e:force="" xci:force="" sim:force="">
         <xsl:output method="xml" encoding="UTF-8" indent="yes"/>
         <xsl:param name="atom"/>
         <xsl:param name="sessionid"/>
         <xsl:variable name="msg" select="/vpf:Msg/vpf:Body/vpf:Payload[./@Role=&apos;S&apos;]"/>
         <xsl:variable name="vpSender" select="/vpf:Msg/vpf:Header/vpf:Sender/@Id"/>
         <xsl:variable name="vpObject" select="/vpf:Msg/vpf:Header/vpf:Sender/@ObjId"/>
         <xsl:variable name="vpReceiver" select="/vpf:Msg/vpf:Header/vpf:Receiver/@Id"/>
         <xsl:template match="/">
              <Msg xmlns="urn:com.sap.b1i.vplatform:entity">
                   <xsl:copy-of select="/vpf:Msg/@*"/>
                   <xsl:copy-of select="/vpf:Msg/vpf:Header"/>
                   <Body>
                        <xsl:copy-of select="/vpf:Msg/vpf:Body/*"/>
                        <Payload Role="R" id="{$atom}">
                             <xsl:call-template name="transform"/>
                        </Payload>
                   </Body>
              </Msg>
         </xsl:template>
         <xsl:template name="transform">
              <Fileout xmln="" type="file">
                   <xsl:for-each select="$msg/BOM/BO/Document_lines/*">
                        <row>
                             <col>
                                  <xsl:value-of select="$msg/BOM/BO/Documents/row/CardCode"/>
                             </col>
                             <col>
                                  <xsl:value-of select="ItemCode"/>
                             </col>
                             <col>
                                  <xsl:value-of select="LineNum"/>
                             </col>
                             <col>
                                  <xsl:value-of select="Quantity"/>
                             </col>
                             <col>
                                  <xsl:value-of select="Price"/>
                             </col>
                        </row>
                   </xsl:for-each>
              </Fileout>
         </xsl:template>
    </xsl:stylesheet>
    can you help me?

  • Cannot open zip file generated with java

    Hello everybody !
    I work on a web application ( servlet, JSP... ).
    I generate a zip file containing only one file corresponding to a JSP page but when I try to open it thanks to Winzip 8.0, I have the following message :
    Error : invalid compressed data to inflate.
    The zipped file is not empty, does anybody know what is the problem, here is the source code of my servlet :
    public void trt (HttpServletRequest req, HttpServletResponse res)     throws ServletException, IOException
    URL l_JspPage;
    String temp;
    ByteArrayOutputStream l_ByteArrayOutputStream = new ByteArrayOutputStream();
    ZipOutputStream l_ZipOutputStream = new ZipOutputStream(l_ByteArrayOutputStream);
    l_ZipOutputStream.setMethod(ZipOutputStream.DEFLATED);
    ServletOutputStream out = res.getOutputStream();
    ServletContext servletContext = getServletContext();
    if ((temp=req.getParameter("url"))!=null)
    try
    l_JspPage = new URL(temp);
    DataInputStream l_DataInputStream = new DataInputStream(l_JspPage.openStream());
    int l_iBufferSize = l_DataInputStream.available();
    byte l_byJspPageData[] = new byte[l_iBufferSize];
    l_DataInputStream.read(l_byJspPageData, 0, l_iBufferSize);
    l_ZipOutputStream.putNextEntry(new ZipEntry("file.html"));
    l_ZipOutputStream.write(l_byJspPageData,0,l_iBufferSize);
    l_ZipOutputStream.closeEntry();
    l_ZipOutputStream.finish();
    String zip=l_ByteArrayOutputStream.toString();
    res.setContentType("application/zip");
    res.setHeader("Content-Disposition","inline; filename=output.zip;");
    out.println(zip);
    out.flush();
    Thanks for your help.

    Your code is somewhat obscure, but it appears that you are writing a zip file to a byte array, converting the byte array to a string, and writing the string to "out" - whatever that is.
    I'm not sure why you are going through all this, but in any case the string conversion is probably a wrong step. Zipping results in binary data, and string conversion will probably result in changes to the binary values.

  • How to save a file generated with jxl on a server?

    Please can anyone tell how to save a newly genarated excel file in a folder on a server?
    response.setContentType("application/vnd.ms-excel");
    response.setContentType("text/html; charset=utf-8");
    response.setHeader("Content-Disposition","attachment; filename=report.xls");
    WritableWorkbook w = Workbook.createWorkbook(response.getOutputStream());
    WritableSheet s = w.createSheet("Report_detail",0);
    but this sends my file to a browser
    Thanx

    FileOutputStream...
    but this sends my file to a browserDon't tell me that surprised you? Why did you write that code in the first place?

  • The Raw files generated with my new Canon 7D MII aren't recognized by my Lightroom 4.4

    Question asked in title of discussion

    Correct - and they never will be.
    As Denis suggests, you need to upgrade to Lr 5.7.1; or, you can use the free DNG Converter to convert the files to a format that 4.4 will read.

Maybe you are looking for

  • Task Scheduler - Bad login when using the correct password

    Greetings, I have been working an issue with Task Scheduler for a while now. I have done the forum rumble as well and looked at most if not all the posts to no avail. So here is my setup is on Server 2008 R2 SP1: I have a service accounts, we are loo

  • NX8600GTS T2D256EZ NO HDMI Signal Single Monitor

    The above card refuses to work correctly with an LCD TV using a DVI to HDMI connector, it will not display anything using it as a single display and requires going into windows to move the display across to get it working. The adaptor, cable and TV s

  • Flashing loading effect? White to black.

    Hi, My webite is all on a black background. When the pages load a flashing effect occurs due to the change from white to black background, can I change this White color to create a smoother transition from page to page? At the moment I have the surro

  • Fex 1 Nexus 2148 to 2 Nexus 5010 problem?

    hi all I'm having trouble when fex(ing) 1 nexus 2000 to 2 nexus 5000. I've configured as dual home from 1 nexus 2k. But after success config, just 1 nexus 5k can see 48 port on it. other cannot see it and it showed as module offline Here's is results

  • Status COBL in re classic

    Hi All I need to find, in a program, all the contract in status "COBL", "FCAN"... there is a function to do this? TIA Sarah