Special characters with ANT

Hi All,
I am creating ANT script that suppose to run under the Windows XP.
I am trying to create number of properties in my config.ini file with propertyfile tag .
I have code that suppose to add directory name to the config.ini file :
<propertyfile name="${dir.main}\config.ini>
<entry key="main.directory.name" value="f:\mydir />
</propertyfile>
but what I actually receiving inside my config.ini file after the running of my ANT script is something like that
main.directory.name=f\:\\mydir
I will use this property with java on XP machine afterwords ,
and defenetly windows woudn know what to do with that additional slash before the colon.
thank you for your help.

The format of "properties" files is not 100% compatible with the format of ".INI" files.
They have no "[section]"s, some characters are escaped, you can use ":" or "tab" or "space" as a separator instead of "=", and a long value can be split through several lines using a backslash at the end of the lines, as this:
key : value value value\
value value value\
value value too long\
to be put in a single lineTry to express such thing using an ".INI" file...
If you must write a ".INI" file, list the properties manually, in the correct format, instead of simply expecting that the formats would be perfectly read by both systems.

Similar Messages

  • Problems with special characters with XML/PDF printing

    Hi,
    Our setup:
    Apex Listener 2.0.5
    Oracle DB 11G
    Weblogic
    Apex 4.2.2
    Various recent major browsers
    We used this blog post so we could do some PDF printing with APEX Listener:
    http://marcsewtz.blogspot.be/2013/04/pdf-printing-with-oracle-application.html
    The problem is special characters. For example the "&" sign comes out as "%26amp;" when we export an XML.
    Could anyone provide some insights of what we can do to fix this?
    Regards,
    Joni

    This is a known bug.
    https://support.oracle.com/epmos/faces/BugDisplay?_afrLoop=957905848396285&id=18282188&_afrWindowMode=0&_adf.ctrl-state=168vq5zhn3_233
    The bug 18282188 has been fixed in Apex 4.2.5 version.
    Upgrade the Apex version to 4.2.5 when it is available.

  • How do you insert special characters with imovie 08?

    How do you insert special characters into a project
    with imovie 08?

    Don't think that would work. Since my "system date" is already set at 2007. I have 2 imports, one has the year as 2048, and the other at 2016!! I don't know where they are getting these dates from, but they are not the system date.
    Were the files imported directly from a camcorder or from files already on your hard drive? In the first case the year may have been taken from the time "stamp" recorded when the footage was shot (which may or may not have been correctly set by the user). On the other hand, files imported from the hard drive seem to be keyed to the date the imported file is written to the "Events" folder which, of course, reflects the current system time/date setting. That's why I said you had to then import (re-import) the files from a hard drive source -- i.e., to ensure the DTG would be re-written.

  • Dwm special characters with tty font?

    Currently, I have dwm configured like so:
    http://i.imgur.com/JsTurIO.png
    But as you can see, in the upper left corner, my tag names aren't displaying properly, neither is the title of the directory I'm in (†††). I've tried the dwm-pango patch, but then I'm unable to get it to use the same font it uses currently for the menubar, which I would like it to do. I also have no idea what the name of the font it's currently using is.
    So, two questions: is there a way I can get special characters to show up with dwm while maintaining the same font, and if not, how can I switch the font in my terminal windows so that I can match the statusbar and my other windows? I suspect the answer to the second is just some line in .Xresources which I can probably figure out unless there's something more complicated, but I'd rather just use the same font I'm currently using, but fix the special characters problem.
    -- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
    Last edited by davidjosepha (2014-03-04 22:32:51)

    Epictek wrote:
    davidjosepha wrote:
    I'm getting an error when I try to build...
    /usr/include/X11/Xft/Xft.h:39:22: fatal error: ft2build.h: No such file or directory
    However, I've made sure freetype2 is installed properly and that ft2build.h is where it's supposed to be. Why might this be happening?
    Edit: Managed to figure this out. But it's still not using a console font in dwm. How can I get it to use a font from /usr/share/kbd/consolefonts/?
    I'm trying to also get this to work but get the same error as you did.
    How did you do to fix it?
    You need to add a couple lines to config.mk in the source directory.
    @OP: It's not entirely clear what your goal is. The XFT patch allows for unicode .ttf fonts, and affects the entire statusbar; the current Pango patch allows for fonts in languages with unique character sets (Cyrillic, CJK, Thai, etc.) but some Pango features only affect the right-hand statusline. If you're trying to add, say, symbols or icons to your tag names for a little eye-candy, you can use the XFT patch and use unicode characters. If you're trying to use a font for your native language, Pango would be the better choice. From what I can tell (C often doesn't come easily to me), it seems each patch replaces console font support entirely for its respective alternative. I'm not aware of any solution that could allow you to use a console font in DWM while displaying special characters; you'll probably have to pick whichever patch you feel is less invasive and detrimental.
    EDIT: If you choose to apply a patch and then change the fonts in your terminal emulator, the latter depends on which terminal you're using. The wiki has articles on Xterm and Urxvt; other terminals will either have a configuration menu or file you can alter, probably mentioned in the man page.
    Last edited by ANOKNUSA (2014-04-12 16:04:44)

  • ### Problem in retrieving special characters with Oracle 9i JDBC drivers

    hi,
    We are having some problem with retrieving special characters like '�' from the database.
    Our application is using JDK1.3.1 with Oracle 9i at the back end(Version: 9.0.1.0.0). We are using oracle 9i thin drivers (classes12.zip) for database interaction.
    To relieve the data from database we are using PreparedStatement in two ways
    1. Creating a preparedstatement from connection object without any parameters and then retrieve the
    data using it. This gives the results in correct format i.e. special characters like '�'
    2. Create the preparedstatement by passing the following parameters.
    i) ResultSet.TYPE_SCROLL_INSENSITIVE
    ii) ResultSet.CONCUR_READ_ONLY
    In this case we are not able to retrieve the special character like '�' correctly. Instead the ResultSet
    returns 'h'
    I think this is the problem with Oracle drivers. Does anyone have any information about the mentioned problem.
    rgds

    I don't know exactly (because I am using JDK 1.4 with ojdbc14.jar where these problems seem to be rare...) but you may consider this:
    1. Add nls_charset12.zip to your classpath to ensure that the encoders are present (may or may not help)
    2. Swith to JDK 1.4, and do this:
    Instead of String s = getString(column)
    use
    byte[] bytes = getBytes(column);
    ByteBuffer bb = ByteBuffer.wrap(bytes); // in package java.nio
    CharBuffer cb = Charset.forname("ISO-8859-x").decode(bb);
    String s = cb.toString();
    The latter method allows you to perform the encoding/decoding manually.
    3. Change the character encoding in the database to unicode upon database setup.
    4. Try playing with NLS parameters (alter session ...)

  • Special characters with English aluminum keyboard

    well, considering there's probably no Spanish ISO version of the Apple Keyboard (aluminum) available in the USA, does the English version allow the typing of special characters like ñ, á and ç?

    Yes. Press Option+N followed by N, Option+E followed by A, and Option+C respectively to produce those characters. For other characters, open the International pane of System Preferences, turn on the Keyboard Viewer as well as the input menu, and see the keystrokes to produce them.
    (31652)

  • CS4 can't input special characters (|\#) with alt+shift

    Very strange,
    I can input all characters with alt+shift except for:
    * alt+shift+l normally outputs: |
    * alt+shift+/ normally outputs: \
    * alt+shift+£ normally outputs: #
    I have an EN_US version, and I work with an azerty-keyboard
    This was an issue with cs3 too
    anybody has a clue why I can't input these characters?
    thanks

    No idea, but maybe due to security reasons, because "&&" is a logical AND, and "||" is a logical OR, and "//" could start a comment, through input boxes these could actually alter the internal program and one maybe able to bypass security codes or do other imaginative things. In fact similar things have been widely used in PHP language by hackers, one of their methods is known as "xss" or cross site scripting through which a badly regulated/filtered/controlled user input can be exploited.

  • Insert special characters with laptop keyboard

    In Linux Thunderbird is there a keyboard shortcut alternative to insert>Characters and symbols ?
    I have tried various combinations of fn-alt-shift ctrl but none seem to work.

    Assuming English US version, Alt+I followed by Alt+C.
    If you look in the menus (the ones from the full menu bar, not always the ones from the ≡ application button), they show a Ctrl+''x'' for the keyboard shortcut. Also, each menu item has a bar underneath its accessibility key, which can be used along with the Alt key to navigate them without the mouse.

  • How to replace special characters with html code characters automatically?

    A colleague and I work on these html pages. They eventually end up as emails, but we have the cold fusion server to pre process them. One thing we are trying to do is eliminate problems caused by unencoded copyright, trademark and smart quote symbols.
    How could I create an array of find / replace commands in the header so it processes the HTML with correct character codes.
    I"m not cold fusion aware, so any kind of starter info would be great. Eventually I might add more replacements to the array.
    As an example TM (font character) would process to &trade; and a smart quote or apostrophe would process to a straight one. an en dash character would become &ndash;
    Because we copy paste from places, this often happens and it seems like cold fusion could solve the problem quickly and repeatedly all at once.
    thanks for any help
    -smick

    CF has a built in HTMLEditFormat function for handling <  &  > characters.  For handling trademark and smart quote characters you might try searching for a user defined function at http://cflib.org or writing a user defined function yourself that will handle the specific characters needed in your application.

  • Weird dots, lines, special characters with triggering uevents.

    I'm trying to install arch on my uefi laptop and I'm going into UEFI Shell x86_64 v2, letting it load then exiting and starting up the Arch Linux archiso x86_64 UEFI CD and it's just displaying a ton of random dots, lines, underscores, etc.  I've tried selecting the boot option and hitting tab to see if I can't add a boot option, but that doesn't even let me append options to it.  Here's a picture of what's going on since I don't even know what this is called to begin searching for answers on it.
    http://i50.tinypic.com/24njtwl.jpg

    Ed
    Can you tell us whether your async line configuration includes the command no exec?
    I have seen situations where async lines used for reverse telnet/terminal server and configured with the default setting of exec will send extra/garbage characters to the console of the controlled device.
    HTH
    Rick

  • Replacing Special Characters With Its Actual Value

    Hi All,
    Does anyone has any idea how to replace an extended character (ASCII value ranging from 128 to 255) to its actual character set in SQL/PLSQL?
    For example: “½” needs to be replaced to “1/2”
    “¼” needs to be replaced to “1/4”
    Ultimately if the value is “California 71 ½ ” then the result should be “California 71 1/2”.
    Thanks for your time!
    Regards,

    user10088255 wrote:
    Hi All,
    Does anyone has any idea how to replace an extended character (ASCII value ranging from 128 to 255) to its actual character set in SQL/PLSQL?You can also use POSIX Character Equivalence Class to match characters having the same base character as the character you specify.
    --Extended ASCII (ISO Latin-1):
    á     #225
    â     #226
    ã     #227
    ä     #228
    å     #229
    æ       #230
    SQL> select regexp_replace('á,â,ã,ä,å,æ','[[=a=]]','a') str from dual;
    STR
    a,a,a,a,a,a

  • Replace all special characters in a String with underscore

    I have a String which contains some special characters even(!,$,@,*....).
    I need to replace all the special characters with _ in my String. I do have an idea of using String.replace() and analogous forms, but I would be thankful if anyone can suggest me of a better and an efficient way.
    regards,
    fun_one

    Kaj,
    Thx for your earnest reply. I did have a peep into the API on this method. But the regular expression that I need to use here was beyond my understanding. It did specify some regex that I put to use (something like myString("\D","_"), assuming that I need to replace all non-digit characters ), but it really did not help me getting the result.
    Would you spare some code for me reg. the usage of regular expressions in such a scenario?
    cheers,
    fun_one

  • Jar (or Zip) file with problems in accents, special characters

    Hi! I've a servlet that creates a jar (or zip) file and then send it. My problem is that when I create an entry in which the filename has special characters such as accents, when I unjar or unzip de file, it brings a lot of garbage characters. For example, the nex entry:
    Ex�menes.doc
    when unzipped is:
    Ex?�menes.doc
    I've tried a lot of things:
    -Setting the locale to ES, MX
    -Replacing all the letters with special characters with its unicode (like s.replace('�','\u00E1')
    -Trying to convert it to UTF8 (new String(path.getBytes(),"UTF8") )
    -Replacing the file separator char (according to a workaround that I found in the bug database)
    But nothing of this worked, alone or together. I've read that this is (or was) a bug in the API, but don't know if a solution has been found.
    Any help will be greatly appreciated!

    It's not clear what you are asking. Maybe this will help
    http://www.cfdev.com/code_samples/code.cfm/CodeID/83/Java/Simple_Ant_build_xml_Build_Task

  • How to save Special Characters in oracle?

    Is there any way to enter special characters such as ºC ? i am using J2EE and Oracle 9 i.
    When i try to enter 2ºC after updating the datbase it is converted to 2ºC when it is displayed in HTML. All special characters are prefixed with Â. Pls suggest any way to use special characters with oracle ..

    This has nothing do to with NLS_LANGUAGE. In general, character set processing depends on NLS_LANG setting (which is an OS setting and not a instance initialization parameter) and database character set. To understand NLS_LANG see OTN NLS_LANG FAQ http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm.
    However, I think that JDBC is an exception and does not use the character set defined by NLS_LANG. See last answer in following discussion:
    Re: When is NLS_LANG used ?

  • How to insert special characters in pdf comments

    Now, we are ready to go "no paper" workflow, and so mark anything on pdf file, but we cannot insert most of special characters in PDF comments. Same as here, and the xml entity is "&PSgr;", "how to archive it?

    >what the Character Map is?
    You don't know how to use Google?
    Character map is a standard part of Windows for using special
    characters with any program.
    In Windows XP, Start > All Programs > Accessories > System Tools >
    Character Map.
    Aandi Inston

Maybe you are looking for

  • Dynamic Columns in FSG

    Hi, We need to create multiple reports using FSG. For some of the reports the rows will be common and columns will change based on a segment in COA. Example: A company having multiple office such as regional office, divisional office and branches. Al

  • Is there a function to go UP in the directory tree?

    Hi, Anybody knows about a function to go up one stage in the directory tree? Thanks, Marce

  • Imessage on my macbook show me an error message

    When I tried to open imessage on my Macbook Retina it is'nt open an when I force to quit the computer show me an error message like this Thanks Date/Time:       2013-01-29 13:26:48 -0500 OS Version:      10.8.2 (Build 12C3006) Architecture:    x86_64

  • Fully charged Macbook Pro 13 inch

    After fully charging my Macbook (13 inch 2011), is it ok to keep the charger in my Macbook 13 inch 2011?

  • Inspire 6.1 lost cables

    so i got the inspire 6.1 6600 at a pawn shop for forty bucks and now i'm looking for the cables for it... and by the cables i mean the power cable, the input cables and the volume control. any guidance as to the best way to obtain these would be appr