Currency symbol  different in unix and windows

I am using NumberFormat.getCurrencyInstance() passing a bigdecimal to call format method , the output is different in unix and windows , in windows it works fine the result is $0.00 where as in unix I get this 0.00
please explain me how to resolve this ? code to format bigdecimal
     NumberFormat.getCurrencyInstance().format(new BigDecimal(0));

My guess is your unix doesn't have the locale set right. If you are US try this.
NumberFormat.getCurrencyInstance(Locale.US).format(new BigDecimal(0));JSG

Similar Messages

  • File permissions $OH Unix and Windows

    Hi,
    I am examining an Oracle audit and now looking for all the default file/directory permissions on Unix and Windows. Have searched a lot of sites now but could not find a proper list with all the permissions mentiond. Does anybody knows where to find such a list (or script) to check if my current settings are ok?
    I use OEM to check for my open security policies but this permission item is very hard to find unfortunately.
    So please some info on this unix/windows permissions issue.
    Thanks,
    Paul
    btw Have found some settings for bdump, udump, adump, $OH/rdbms/log and audit (umask 0177) but want to check those other permissions for the whoe installed Oracle software en admin directories.
    Edited by: Paul van Rixel on 12-mei-2009 13:30

    Hi,
    Picked a few alerts from EM, for example:
    Allowed Logon Version
    Default Passwords
    Default Permanent Tablespace Set to a System Tablespace
    Initialization Parameter File Permission
    The last few weeks I have already disabled some of the policies but these are the alerts which are left now and I want to get rid of them.
    When you click in EM on "Initialization Parameter File Permission" the description of it is: Ensures that access to the initialization paramater file is restricted to the owner of the Oracle software set and the DBA group.
    So, ok thats is clear to me but I want to look at the whole server/database to make it a "clean" server/db.
    Paul

  • Essbase system 9 -difference between the installation in UNIX and windows

    Hi,
    plz let me know the difference in installation in UNIX and windows, let me know the process. this is bit ugent...
    advanced thanks for your help and support.
    Thanks,
    sudhakar

    Hi Sudhakar,
    You have 2 documents for windows_installation and unix_installatio in the following location.
    http://download.oracle.com/docs/cd/E10530_01/doc/nav/portal_1.htm
    Sandeep Reddy Enti
    HCC
    http://analytiks.blogspot.com

  • Why is itunes different in ipad and windows based computer

    why is itunes different in ipad and windows based computer

    Perhaps because they have entirely different operating systems and input methods?

  • Currency Symbol Problem on Unix

    I am having a problem with the Currency Symbol display on a Unix Environment. The java code was done on a NT environment and was displaying correctly with the "$" symbol preceding the number. However when I moved this to the unix environment, instead of the "$" symbol I now instead get "�" this symbol in its place. Below are some parts of the code to illustrate. I am new to java so I can't figure out why the currency symbol wont display. Any suggestions?
    import java.text.NumberFormat;
    snip
    NumberFormat nfc = NumberFormat.getCurrencyInstance();
    snip
    nfc.format(dollarAmt);

    Please verify the Locale.
    System.out.println("locale=" + Locale.getDefault())

  • Partition Table Looks Different Between OSX and Windows 7

    Hey all,
    I recently replaced the hard drive on my 2007 iMac, going from the 320GB drive to a 1 TB drive. It actually worked! The previous drive was failing in very odd ways, though booting into the Windows side (more on dual boot later) always seemed to work, and S.M.A.R.T. always reported that the physical drive seemed OK.
    The previous drive (320 GB) had around 200GB devoted to OSX and 100GB partitioned off for a working Windows 7 installation (custom installed x64 Win7 Ultimate). I had the Windows system image backed up to my NAS, and had a Windows system bootable disc to restore that image.
    After replacing the drive (and almost crying that I had actually done it right), I first restored OSX from a Time Machine backup, and let it take the full 1TB of space as Journalled HFS+. Then, I used Disk Utility to shrink OSX down to 500GB, and created a second partition (formatted to NTFS) with the remaining 500GB.
    Now, restoring a Windows system image is an odd thing, as it tries to do a lot of partition work as opposed to simply restoring the Windows install to a partition. I tried Macrium Reflect first (made a backup in that, too), and it looked like it was going to let me restore to the second partition. It completed the restore...and the entire hard drive was hosed. Partitions had been moved, renamed, resized, and nothing was bootable. I had to use Recovery from an external USB thumb drive to go back to the single, full-drive install of OSX.
    Then I tried again. Made the second NTFS partition and used the basic Windows System Restore disk to restore from the standard system image I had on the NAS. I was not expecting this to work. But it did. Windows started showing up in Startup Manager when "option" was pressed on bootup, and both OSX and Windows booted properly and ran fine. This is where I (finally) get to the supreme oddities:
    OSX Disk Utility still reports two 500GB partitions, one for OSX and one for Windows.
    In OSX the Windows partition shows as having NO DATA on it. Not sure what would happen if I tried to write a file to it when mounted, but there is no data on it when viewed from OSX (I was always able to see the Windows files when I mounted that partition on the previous drive).
    The Windows partition does not show up as a valid bootable system in System Prefs --> Startup Disk (naturally, I suppose, since OSX doesn't think there is anything there).
    From the WINDOWS side, Windows still sees the old partition table: 200GB for the "unknown" HFS partition, and then the rest of the space can be devoted to Windows (started as 100GB, but I was ablt to expand it to use the remaining ~750GB!).  Windows thinks it can have 750GB of space even though I know its partition is only 500GB in size!
    Windows cannot see the OSX HFS partition data using HFSExplorer. It CAN see the HFS partition on the attached backup drive (the drive I use for Time Machine).
    GParted (a partition program on a Linux bootabld CD-ROM) shows the same partitions as OSX Disk Utility (2x500GB), and also thinks the Windows NTFS partition is empty (all space reports as "unused").
    Did I mention both OSX and Windows work fine???
    There are, of course, two other partitions on the drive: the first partition is the 200MB one I always see (EFI/GUID portion?), and then between the HFS and NTFS partitions is the 600MB recovery partition (which also shows at option-pressed boot time). OSX, GParted, and Windows see all four partitions, and in the same order. It is just that Windows sees the wrong sizes, and OSX cannot see any data in the Windows partition.
    Surely this is all going to break spectacularly at some point, isn't it? What if I ever did write a file to the Windows side from OSX, or what if OSX starts taking more space than the 200GB Windows thinks is the max for that partition? What if I try to make Windows use more than 500GB because it thinks it has almost 800GB to use? What if I defrag the Windows drive?
    I had no idea a partition table could look this goofy and yet still have everything be bootable and workable. Is there something I can do to get everything in sync? Basically, I am assuming I need to get Windows to do some low-level kung fu in Disk Manager in order to properly get everything lined up with the "right" partitions as reported by both GParted and OSX Disk Utility. But how do I do that?
    By the way, any ideas that totally nuke the drive and start from scratch are completely fine (if it seems like they are doing something different enough that I'd give it a try). I have good backups of both OSX and Windows and have restored them about a half dozen times already as I dealt with the previous failing hard drive and with trying to get dual-boot working again. Not to mention, this iMac is now my secondary machine to the new Mac Mini I got a couple weeks back when I wasn't sure how much more life I was going to get from this 6+ year old iMac.
    Thanks for listening to me ramble about this very odd issue, and a huge THANK YOU in advance to anyone who has ideas to help.
    Thanks,
    sutekh138

    Update:
    I am pretty sure the issue is a simple GPT/MBR discrepancy.
    I installed rEFIt and used it's partitioning tool (gptsync built in) upon bootup. It was able to show the GPT table and the MBR table, but it thinks the second partition of the drive (the Mac OSX bootable partition) is "extended" in the MBR table and says "will not touch this disk."
    However, it does look like an MBR sync should be straightforward, as there four partitions in the GPT table and four in the MBR (and MBR allows a max of four, AFAIK). I just need gptsync to relax some rules. I found a link to a supposedly newer version of gptsync compiled for OSX, so I will try that later.
    First, I will try Partition Wizard, a free tool I found for the Windows side. It has a "Repair MBR" option that I would have tried last night if I weren't running a new Windows Image Backup in case all of this goes haywire.  *smile*  The PW tool also has an option to change the MBR over to GPT entirely. That might work, but then I am not sure Windows 7 will boot (from what I read, x64 Win7 running on EFI-enabled hardware should work, but who knows).
    Anyway, I will try the following things, in order, until something works, when I get home tonight:
    From Windows, run Partition Wizard and try "Repair MBR".
    From OSX, download recent gptsync and try to run it.
    From Windows, use Partition Wizard to do a full MBR --> GPT conversion.
    Nuke the Windows partition in OSX Disk Utility, expand the HFS partition to take up the whole drive, and then add a Windows-bootable partition via Boot Camp-ish command line commands (diskutil). Because if nothing else works, I have to assume I just created the partitions wrong in the first place such that a Windows restore miraculously works, but the partition weirdness is just a timebomb waiting to happen.
    Finally, if none of the above work, I'll just get things back to the way they now work and wait for the timebomb to (possibly never) go off.  *smile*
    I'll update this thread if I get something figured out, in case anyone else stumbles upon it...
    Thanks,
    sutekh138

  • Help: symbol shifting between mac and windows, flash cs3

    I'm doing work reviewing flash files created by other users
    on mac and windows. I'm using os x 10.5.6. When I open a file
    created in windows / flash cs3 some symbols on the stage will have
    shifted upwards on the y axis. If I correct the shift and then send
    it back to the windows user they see the symbols incorrectly
    aligned, as if I had moved symbols around on a correctly aligned
    file.
    The strange thing is not everything on the stage is shifted.
    Only particular symbols will move, and it's usually symbols only
    (not text frames, drawing objects, etc).
    I believe there's a general history of bad behavior when
    saving flash files and trading them back and forth between mac and
    windows, but does anyone know what may be causing this? Or a
    remedy?
    Thank you in advance.
    Peter

    also, I tried opening the same files in vista using a mac
    mini with vista installed on a bootcamp partition. When opening
    other windows authored flash files there I had shifting issues as
    well, so I'm not convinced it's strictly a mac vs. windows issue.
    Unless it's a flash cs3 on windows xp doesn't like mac flash cs3
    and vista flash cs3...

  • Pros and Cons Between UNIX and Windows Servers

    Hi,
    Currently the business I work for runs SAP on UNIX, but there is talk of moving to Windows servers as there are more skills available in SQL.
    It is our belief however, that UNIX servers are more 'stable' than Windows. We believe it would cost more in staff time if there was a transfer to Windows because of more system downtime, due to a larger amount of server updates.
    I would like to know the experiences and opinions of' anyone who has made the switch from UNIX to Windows, or vice versa.
    Has anyone considered moving to Windows and decided against it? What were the pros and cons?
    II'm sure this is an issue that has been considered by many experts. I look forward to reading your responses.
    Regards,
    Luke

    Thanks Michael, that thread is really useful and gives me some good information for my report.
    I'm still interested in hearing more opinions on this. Is there anyone that has successfully fought off a proposed change to Windows from UNIX based on pros and cons, or vice versa? I want to hear both sides of the argument and have a really interesting, opinionated discussion in this thread.
    Regards,
    Luke
    Edited by: Luke Mercer on Apr 22, 2010 6:02 PM

  • Font differs from Linux and Windows ?

    Hi, i just want to ask, are fonts different from windows and linux in applet. I use a standard courier font.
    For example, if i make an applet with courier font texts in linux, and make the texts wrap themselves, they will run ok in linux. But if i run the compiled applet in windows, the wrapped text somewhow got truncated.
    But if i compile the applet in windows, it will look ok in linux and windows.
    I've tried replacing my courier fonts in my /usr/java/jdk/jre/lib/fonts/cour*.ttf with the cour*.ttf from c:\windows\fonts with no effects .. Applets compiled and run ok in linux doesnt work in windows. They must be compiled in windows to run ok in both.
    Why is that ?
    Does the compilation use the fonts in the jdk lib or the system fonts ?
    I'm so confused T_T
    Please Help

    How do I get Mac OS 10.4.4 and Word X for Mac to see
    all the characters in the Word for PC document
    formatted in Times New Roman?
    There's no way with Office X, which can't do Unicode Greek. You need to upgrade to Office 2004 which is Unicode-savvy and installs in your Mac the same Times New Roman with Greek, Cyrillic, Hebrew, and Arabic which is used by WinXP. An alternative might be AbiWord or NeoOffice/J.

  • CD different for Linux and Windows

    I have in hand a very strange CD. This is an (old) CD with drivers for a Samsung printer. The CD has drivers for Linux and Windows. But if I mount the CD in Linux, I see only the Linux driver and if I access the CD from Windows, only the Windows drivers are seen. How they can do that ? How can I mount in Linux the CD in order to see the content seen from Windows ?

    In Windows ( DIR D: )
    Le volume dans le lecteur D s'appelle SAMSUNG_LBP
    Le numéro de série du volume est C432-A954
    Répertoire de D:\
    28/02/2005 00:53 <REP> ACROBAT_READER
    26/10/2004 06:11 740 AUTORUN.INF
    28/02/2005 00:53 <REP> DATA
    28/02/2005 00:53 <REP> ML-1610
    28/02/2005 00:53 <REP> Manual
    09/12/2004 03:55 11 219 SETUP.DAT
    20/09/2004 07:29 270 336 SSAuto.Dll
    17/09/2004 08:03 253 952 SSEtc.dll
    22/09/2004 11:09 225 280 SSFcs.dll
    12/03/2004 05:59 1 622 016 SSRes.dll
    17/09/2004 08:04 155 648 SSTtp.dll
    26/10/2004 05:42 307 200 Setup.exe
    28/02/2005 00:54 <REP> USB
    8 fichier(s) 2 846 391 octets
    5 Rép(s) 0 octets libres
    In linux (ls -l -F /mnt/cdrom)
    total 44
    dr-xr-xr-x 22 root root 4096 Feb 28 2005 Manual/
    -r--r--r-- 1 root root 2555 Feb 28 2005 README.txt
    -r-xr-xr-x 1 root root 51 Feb 28 2005 autorun*
    dr-xr-xr-x 3 root root 2048 Feb 28 2005 bin/
    dr-xr-xr-x 8 root root 2048 Feb 28 2005 cups/
    dr-xr-xr-x 4 root root 2048 Feb 28 2005 data/
    dr-xr-xr-x 3 root root 2048 Feb 28 2005 help/
    -r--r--r-- 1 root root 8517 Feb 28 2005 icon.xpm
    dr-xr-xr-x 9 root root 2048 Feb 28 2005 locale/
    dr-xr-xr-x 2 root root 6144 Feb 28 2005 misc/
    dr-xr-xr-x 3 root root 2048 Feb 28 2005 ppd/
    dr-xr-xr-x 2 root root 2048 Feb 28 2005 scripts/
    dr-xr-xr-x 4 root root 2048 Feb 28 2005 setup.data/
    -r-xr-xr-x 1 root root 6603 Feb 28 2005 setup.sh*
    ouput of isoinfo -d dev=dev/sr0 (in linux)
    CD-ROM is in ISO 9660 format
    System id: LINUX
    Volume id: SAMSUNG_LBP
    Volume set id:
    Publisher id:
    Data preparer id:
    Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING
    Copyright File id:
    Abstract File id:
    Bibliographic File id:
    Volume set size is: 1
    Volume set sequence number is: 1
    Logical block size is: 2048
    Volume size is: 239152
    Joliet with UCS level 3 found.
    SUSP signatures version 1 found
    Rock Ridge signatures version 1 found
    Rock Ridge id 'RRIP_1991A'
    If I use on Windows the Windows port of cdrtools; then these tools behave as in Linux, showing me the Linux contents. In Linux I can also mount -t udf and then I see:
    total 32
    -rw-r--r-- 1 root root 32768 Feb 28 2005 Desktop DB
    -rw-r--r-- 1 root root 0 Feb 28 2005 Desktop DF
    drwxr-xr-x 1 root root 22 Feb 28 2005 Manual/
    This was for a Samsung ML-1610 B/W laser printer. This is crazy.
    @lolilolicon That explain the result when I mount -t hfs. But the difference in Linux and Windows remain mysterious. How Windows "mount" the CD? I believed it was the equivalent of mount -t iso9660 in Linux but apparently, it is not.
    Last edited by olive (2011-09-08 12:12:16)

  • FTP vs. NFS- basic configuration and doubts - bt. unix and windows systems

    Hi all,
    I need to configure a connection between PI (unix box) and a windows server using File Adapter (both sender and receiver).
    My doubts are:
    - Which is preferable type of conection: NFS or FTP?
    - Which are the advantages and disadvanteges of both?
    - Most important: Which are the prerrequisites for both ways? Such as installing server ftp, or mounting folders, OS configuration, security config. Etc. etc.
    I will apprettiate if you could also post a direct link to documentation.
    Thanks in advance.
    Exe.
    Edited by: EZEG80 on Nov 9, 2010 1:18 AM

    Hi,
      NFS: when the file folder is available on the XI Server
    FTP: when it is at remote
    If the Sharing folder is in the same XI system then NFS..If the sharing folder is in different system it is FTP.
    we will use NFS when we required to poll the files from local machines.and we will use FTP when we required to poll the data from the FTP server which are in the remote side or outside of the firewall
    FTP (file transfer protocol) here you are getting data from ftp server or you are writing to FTP server.
    NFS is used when your XI can access the file location directly using the NFS protocol.
    When the File System can be access using FTP protocol, then you need to use FTP and provide the FTP server details and user crendentials to pull data from the File Server.
    NFS is used when you want XI to use the NFS protocol to access thye location of the file.
    FTP is File Transfer Protocol and is used when your Sender SYstem is using an FTP system to send / receiver files.
    we are using NFS when we required to poll the files from local machines..
    We are using FTP when we required to poll the data from the FTP server which are in the remote side or outside of the firewall..
    For more info....go thru these threads...
    FTP and NFS?????
    differnce between nfs and ftp
    FTP Vs NFS
    Regds,
    Pinangshuk.

  • Avoid Unix and Windows Terminal Server Login

    When i connect to my application server through the web browser, i need to
    do a UNIX login. Is there any way to avoid this?
    Once i got into the application server, i tried to start another
    application but that too, required me to login into the Windows Server.
    Can this be avoided as well?

    M Wong wrote:
    When i connect to my application server through the web browser, i need to
    do a UNIX login. Is there any way to avoid this?
    Once i got into the application server, i tried to start another
    application but that too, required me to login into the Windows Server.
    Can this be avoided as well?
    Hi there.
    If by "i need to do a Unix login" you mean "I have to create an account
    on the underlying Unix/Linux OS as to 'couple' an SGD-EE user with a
    Unix/Linux user", then this is one the the "Login Authorities" enabled
    by default in SGD-EE.
    Good news is that you can use plenty of em, such as the RAS/SecurID,
    LDAP, Active Directory, NT Domains and possibly others.
    Let's start by paying the following URL a visit:
    http://docs.sun.com/source/819-4309-10/en-us/base/standard/login_authorities.html
    It's related to SGD EE 4.2 but the same principles do apply to older
    versions of the software as well.
    Best,
    Rob
    Roberto Zini - r.zini<@AT@>strhold.it
    "Has anybody around here seen an aircraft carrier?"
    (Pete "Maverick" Mitchell - Top Gun)

  • Oracle 8.1.7 for Unix and Windows 2000 Active Directory

    Is it possible to integrate the users and passwords of an Oracle Database running on Solaris with the users and passwords defined in a Windows 2000 Active Directory? What are the requirements and the necesary steps?
    I've read the documentation and it shows how to do it if you install Oracle in a Windows 2000 Server, but it does not mention about installing it in any kind of Unix.

    You should consider to base your firm security and central user repository on REALLY SECURE and ROBUST product technology. Not on Windows 2000 Active Directory. Win2K AD is known to be slow and insecure. If you have Oracle on Solaris your data is secure and next step is to move user accounts to real user repository. It may be one of well-known LDAP servers. Try to read some materials on CERT Coordination Center (http://www.cert.org) which describe LDAP servers. After this you can choose the server which best suite your needs.

  • Titles templates a different between MAC and Windows

    Adobe is very incompetent on delivering content.My company is considering moving to the windows version, so we create this Windows server to host only Premiere Pro CS6. Well, the Titles are not there (trial version), so we download the file, unzip it, and copied it to the right place. But we discover that the CS6 Mac Version has a very different list of titles templates, so we simply cannot do our work in Windows. Furthermore, what several have noticed is true. The window fails to scroll or preview correctly, and the majority of the titles are ugly, not like in the MAC. In fact, it seems like they don't want to offer the same titles in the Trial Version than in the licensed version, at least this is what it looks like. It is a mistake, because how do you evaluate a version without the titles? They have to offer the same exact titles for both operating systems.
    The question is, how do we transfer our Title Presets from our MAC Licensed version to the Windoes Trial version?

    Please don't double-post.  I deleted your duplicate post.
    Jeff

  • Giving file path in unix and windows

    hi,
    i'm having problem with reading file from both windows and unix as now i give
    if (os == win)
    file="mydir\\mydir1\\myfile"
    else
    file="mydir/mydir1/myfile"
    wherei get mydir* from environment.
    and then open that file.
    but i feel the above is clumsy and is more like C #ifdef
    Can you please help me out on this.
    Thanks & Regards
    Rajkumar

    hi,
    use the System property "file.separator" to figure out the seperator.
    for eg
    java.util.Properties prop = System.getProperties();
    String separator = prop.getProperty("file.separator");
    System.out.println("separator :" + separator);hope that helpz
    cheerz
    ynkrish

Maybe you are looking for

  • How to calculate a column bases on the result of another column?

    Hello folks, i need some help with this senario. I don't know to explain this in a simple way, but i'll give it a go. I display a report in ApplicationExpress like this Each row displays a product where the user are going to make a forecast for 18 mo

  • Winzip error for par file

    Hi, I have downloaded the winzip par file com.sap.portal.support.browse for the mast head and when i try to extract the par.bak file from it i get a winzip error. I am on windows vista with winzip 8.1. Also tried unzipping with winrar but get the sam

  • Output encoding in Java mapping ?

    Hello, I have written a Java mapping which reads an input document and creates an output document. My problem is, the German special characters are lost in the output document (wrong characters). This is strange, because I am only using regular DOM m

  • 2 iphone 5 update gives error 3 and error 1669???

    i have here 2 iphone 5 that i update to ios7 and gives error, one is error 1669 another is error 3 what this this error means????

  • CIF Transportation Lanes from R/3 to APO

    Currently, we are creating transportation lanes in APO via BAPI calls from R/3.     We have been lead to believe that transportation lanes can be CIF'ed over to APO. We are only executing GATP in APO.    We currently do not use DP, SNP, PP/DS, TP/VS,