Strange problem trying to print "�" symbol

Hello,
I am trying to to print "�" from a system.out.println,
eg. System.out.println("Price: �" + price);
But I keep getting "�" instead of "�".
So I tried System.out.println("Price: \163" + price), but now I keep getting "s" instead of "�".
This has really confused me. My system settings are all set to UK, and I have no trouble printing the "�" character in any other program. My keyboard is working fine. I have no problem printing
System.out.println("Price: $" + price); so I'm guessing its some sort of localisation problem.
Are there any localised Java settings I'm unaware of? I've tried to find any but can't.
Has anyone else had this problem, or have any possible solutions I might try? Any and all suggestion are welcome!
//Daniel.

java does unicode, but a tty or DOS does ASCII 7 bit (or in some cases up to 8 bit) the pound symbol is 0x9c. This is a windows 2000 debug dump for the '�' symbol:
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:\>echo � > c:\poond.txt
C:\>debug c:\poond.txt
-d
0C5B:0100  9C 20 0D 0A C3 8F 06 BC-91 88 0E B2 91 E8 1A FC   . ..............
0C5B:0110  49 3A 0E B2 91 75 05 B8-30 00 50 41 34 00 4A 0C   I:...u..0.PA4.J.
0C5B:0120  91 C3 5D C7 06 BA 91 0A-00 E8 7A 00 F6 44 07 01   ..].......z..D..
0C5B:0130  74 1C 80 3E CD 91 00 75-15 8A 44 02 3C 0C 7C 04   t..>...u..D.<.|.
0C5B:0140  3C 17 7E 06 B0 61 50 41-EB 04 B0 70 50 41 33 C0   <.~..aPA...pPA3.
0C5B:0150  33 D2 F6 44 07 20 74 0B-8A 44 05 E8 65 00 FF 36   3..D. t..D..e..6
0C5B:0160  C5 91 41 F6 44 07 20 75-06 F6 44 07 10 74 0B 8A   ..A.D. u..D..t..
0C5B:0170  44 04 E8 4E 00 FF 36 C9-91 41 8A 44 03 E8 43 00   D..N..6..A.D..C.
-q
C:\>type c:\poond.txt

C:\>hope it helps
david

Similar Messages

  • Print problem. trying to print a document in Preview, the start of the text prints half way down the page not at the top of the page?

    Print problems.  Printing out an email the text starts half way down the page.  I tried taking a picture of the text I wanted to print, tried to print from Preview and have the same problem.  If anyone has any ideas I would really apreciate it. Thanks Penny

    One more thing to check:  System Preferences/Print & Scan.  Make sure your printer is set as Default.
    I'm using OS X 10.8 and I don't see Page Setup anymore. If you have access to Page Setup, check to see if there are any adjustments to make there.

  • Strange transparency problem trying to print a pdf made in Pages

    Hello,
    Let me apologize in advance for this one, I think it's probably a doosy.
    Not having the know-how to efficiently do a layout in InDesign, I have been doing print projects in Pages. It has worked fine in the past to print to Adobe PDF postscript from Pages, open up Distiller and convert to a CMYK pdf from there. For my current project it worked fine for the first 2 renditions, but for the 3rd edition (incidentally the one the printing company printed) looked very "muddy." Fonts were very rough and rasterized badly, and the whole thing looked kind of "brown-washed". They claimed to use a program called "Apogee" which they said told them there was a transparent layer over everything, converting all the fonts to CMYK and thus making them lose their nice crisp blackness.They've also said that it must be a setting in Pages that has caused this, but I can't see how that's possible! When I look at the source file in pages there is no such transparency. Several of the images do have their opacity decreased to varying degrees to help the whole piece blend, however this transparency they say Apogee pulled off the top cannot be seen from my end. We are down to the wire trying to get this job to print again, but I am stumped as to how to ensure that this rendition of the file will be done correctly.
    As perhaps a side note, Distiller seems to be a pretty quirky application for me, often failing to convert on the first or second try, but somehow "magically" working on the second or third attempt for no apparent reason and without doing anything differently.
    Thanks so much for any help - I am definitely cracking out the books and forcing myself to learn InDesign after this nightmare!
    - A-J L.

    They claimed to use a program called "Apogee"
    Agfa Apogee, introduced in 1998, was simply the first prepress workflow product that processed page-independent PDF instead of processing page-dependent PostScript into an internal and intermediate display list prior to marking. The prepress operator would be using Apogee to preflight the PDF you submit as printing master, and the problems found in the preflight are those of which you were informed.
    As perhaps a side note, Distiller seems to be a pretty quirky application for me,
    Adobe Acrobat Distiller has been difficult to configure since the day it was introduced.
    Adobe Acrobat Distiller is a PostScript interpreter that converts page-dependent PostScript page description programs into page-independent PDF page descriptions without programming loops and links that produce dependencies. PDF uses a directory design for the objects in the page descriptions, a design that originates with Xerox Interpress (the idea of a directory is in fact printed on page 390 of "Interpress - The Source Book" by Harrington and Buckley published in 1988).
    converting all the fonts to CMYK and thus making them lose their nice crisp blackness.They've also said that it must be a setting in Pages that has caused this, but I can't see how that's possible!
    It is left to 'application intelligence' whether to match RGB black for type to CMYK black for type or to match RGB black for type to separationBlack for one plate/plane on a four plate/plane offset press. The problem with an offset press is that it lays down the inks at inking units that are some distance apart which invites misregistration. QuarkXPress, PageMaker, InDesign and other authoring applications developed for PostScript imaging on offset presses have ink palettes with four fixed inks of which Black produces separationBlack.
    Pages does not have this possibility, so if you want your type to image as deviceK / separationBlack then you need to select your type and apply the following procedure, or set up styles with the following procedure applied. Open the Apple Colour Palette, select the CMYK slider mode, select some type, select the Advanced icon (the colour space icon on the left), in the drop-down menu select Device CMYK, and set the slider to C0, M0, Y0, K100. This procedure can be used by the typographer to control that deviceK / separationBlack is imaged, but for as long as Microsoft Word has produced type that is RGB, prepress processes have intercepted this in PostScript and reset it to deviceK / separationBlack including Helios colour management for OPI.
    In prepress there is no way to please all parties. If you as developer say, "OK, I'll set the type to deviceK and then show this colour managed on the display" then you will have designers and people who write for designers like Sandee Cohen yelling at you for making type less black than they think type should be, even if in fact the colour of type printed on diffusing uncoated paper is way lighter than they think. And if you say, "OK, I'll set the type to R0 G0 B0 so it is as black as the designers think type should be" then you'll have the prepress crowd with their offset presses yelling at you. Neither party accept that black is a colour, one wants type to be as black as possible regardless and the other party wants type to mark on one and only one printing plate/plane regardless.
    converting all the fonts to CMYK and thus making them lose their nice crisp blackness
    I would wager a box of Carlsberg beer that the prepress operator is ignorant of the controls in Agfa Apogee, and that Agfa Apogee has a control to catch RGB type and convert to deviceK / separationBlack. Try telling the prepress operator to READ the manual -:).
    Several of the images do have their opacity decreased to varying degrees to help the whole piece blend, however this transparency they say Apogee pulled off the top cannot be seen from my end.
    Generally speaking, you should not be sending plain PDF to prepress. You should be sending PDF/X-3 which depends on you as designer flattening transparency, or better still PDF/X-4 which passes the problem of flattening transparency to the application intelligence of the prepress raster processing system. PDF 1.3 does not support transparency nor does EPS and nor does PostScript any language level.
    /hh

  • Strange Problem with Epson printer installation

    Dear all,
    perhaps someone can help us. We have a macbook pro here and want to connect an Epson printer via USB, an all-in-one modell: DX4250.
    For this type Epson provides drivers on their page (especially for intel-macs).
    http://esupport.epson-europe.com/SoftwareListing.aspx?lng=de-DE&data=61747C22D70 AB7D7FB76A662086D56545870680C257BA48E196FDFD8BD2D625F
    We went to the page downloaded the drivers, unzipped the files. We got files with the suffix *.dmg and put them on the macbook and installed them, by clicking on the files. After this we found out, that the scanner is running perfectly, but the printer is not there. We can neither configure the printer by selecting it from the drop down menu, where all modells are sorted by company-names nor it runs automatically after plug-in. Only the scanner and its respective support programm appears.
    The printer itself runs normal under windows, so we assume that the hardware is ok and the driver/software is the problem.
    We called epson in a first step they told us the software must be ok and that we should send an email. We did it but got no answer.
    Can anybody with an intel mac check if it is possible for him/her to install the driver provided from the page above (if the model/type appears in the drop down menu after installation).
    Thanks al lot for help in advance
    Patrick
    macbook pro Mac OS X (10.4.6)

    Epson, for reasons known best to Epson, often has an installer which when run installs an installer. Check to see if it did that this time, and then run the newly installed installer.
    Yes, they've been doing this for years.
    Yes, it's extremely irritating.
    Yes, they got me that way when I first installed Epsons on Macs.
    No, I can't understand their reasoning.
    No, they have never responded to to queries on the matter.

  • I've had problems trying to print on my hp envy 4500, with my hp chromebook 14.

    has anyone else had trouble printing from hp chromebook 14?
    i have an hp envy 4500 printer,

    Hi marshasue,
    Welcome to the HP Support Forums. I understand that you are encountering difficulties when printing from your Chromebook to your Envy 4500 printer.
    To better assist you, would you please provide some additional information:
    How is the printer connected (USB cable, wireless direct, or wireless)?
    Are you getting any error messages? If yes, what do they say?
    Have you setup the ePrint feature of the printer? If yes, did you customize the printer’s ePrint email address?
    Have you setup Google Cloud print?
    Thank you.
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • Strange problem with SQL-Statement

    Hi guys,
    i encountered a strange problem trying to execute a statement
    like this:
    Insert Into Data Set Text = 'Exception-Type: {0} Message: {1}';
    I'm using createStatement and executeUpdate.
    But the message stored looks like:
    Exception-Type: 0{} Message: 1{}
    I'm using MySQL 3.23. if I use ODBC everthing is o.k.!?
    Any suggestions
    Thanks

    I found a solution,
    i've thought it through once again. the sql-parsing
    mechanism seemed to be the right direction.
    i guess the odbc mysql implementation does a sql-statement
    conversion, so the string is stored correctly into the
    database. the jdbc-implementation doesn't.
    if i replace { with \{ it works. the backlash can be used
    to masquerade some characters in mysql.
    my application is database independent (or it should be)
    so i wonder if this works with oracle , db2 etc.
    mike

  • HT4356 Problem getting to print form my Ipad

    I have the latest iPad and a new Epson XP 305 printer. The printer works fine with my laptop over WiFi but I am having problems trying to print from my iPad.
    The printer is WiFi and AirPrint enabled, but although I have positioned the printer and iPad along side my router but cannot get the iPad to recognise the printer although all the info that I have says that the connection will be automatic.
    HELP

    Make sure that you have the latest Epson firmware installed in your printer.
    See http://support.epson.net/airprint/fw.html
    Also make sure that your WiFi router supports Bonjour (Bonjour is Apple's implementation of the Zero Configuration Networking Standard)

  • I have a problem with color prints from photoshop elements 12. The pictures are too light and with strange colors. I have a Canon pixma mg615I0 printer and use mac os X yosemite. The pictures are taken with a coanon eos 550d in the color space sRGB. I hav

    Hi
    I have a problem with color prints from photoshop elements 12. The pictures are too light and with strange colors. I have a Canon pixma mg615I0 printer and use mac os X yosemite. The pictures are taken with a coanon eos 550d in the color space sRGB. I have followed adobes recommendations and have tried both letting the printer respektive photoshop manage the colors. But nothing works. I see that there are different opinions about which is best to do so I tried both. I have the latest printer driver installed. Can anyone help me with this?

    Do the following:
    Print a test page from the printer. Perhaps the print head needs cleaning via its maintenance facility.
    Let the printer manage colors, not PSE
    Calibrate the monitor

  • Strange problem when tried to convert HelloWorld.class..

    Hi friends..
    i've downloaded the Java Card SDK 2.2.1, and i tried to compile HelloWorld application that shipped with its distribution..
    i found strange problem when i tried to convert HelloWorld.class into .CAP, etc.. :(
    I use Windows XP, assume that i've set the Environment Variables needed
    i've compiled the HelloWorld.java into HelloWorld.class..
    the package of of HelloWorld is : com.sun.javacard.samples.HelloWorld;
    and i use this config file :
    -out EXP JCA CAP
    -exportpath .
    -applet  0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x1:0x1 com.sun.javacard.samples.HelloWorld.HelloWorld
    com.sun.javacard.samples.HelloWorld
    0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x1 1.0and then i tried to run converter script in the Console :
    *C:\java_card_kit-2_2_1\samples>converter -config com\sun\javacard\samples\HelloWorld\HelloWorld.opt*
    *error: file com\sun\javacard\samples\HelloWorld\HelloWorld.opt could not be found*
    Usage:  converter  <options>  package_name  package_aid  major_version.minor_ve
    sion
    OR
    converter -config <filename>
                        use file for all options and parameters to converter
    Where options include:
            -classdir <the root directory of the class hierarchy>
                          set the root directory where the Converter
                          will look for classes
            -i            support the 32-bit integer type
            -exportpath  <list of directories>
                          list the root directories where the Converter
                          will look for export files
            -exportmap    use the token mapping from the pre-defined export
                          file of the package being converted. The converter
                          will look for the export file in the exportpath
            -applet <AID class_name>
                          set the applet AID and the class that defines the
                          install method for the applet
            -d <the root directory for output>
            -out  [CAP] [EXP] [JCA]
                          tell the Converter to output the CAP file,
                          and/or the JCA file, and/or the export file
            -V, -version  print the Converter version string
            -v, -verbose  enable verbose output
            -help         print out this message
            -nowarn       instruct the Converter to not report warning messages
            -mask         indicate this package is for mask, so restrictions on
                          native methods are relaxed
            -debug        enable generation of debugging information
            -nobanner     suppress all standard output messages
            -noverify     turn off verification. Verification is defaultPlease help me regarding this, because i'm new in this field..
    Thanks in advance..

    Thanks safarmer for your reply..
    i tried this :
    C:\java_card_kit-2_2_1\samples>javac -target 1.3 -source 1.1 -g -classpath .\cla
    sses;..\lib\api.jar;..\lib\installer.jar src\com\sun\javacard\samples\HelloWorld
    \*.java
    javac: invalid source release: 1.1
    Usage: javac <options> <source files>
    use -help for a list of possible options
    C:\java_card_kit-2_2_1\samples>javac -target 1.3 -source 1.2 -g -classpath .\cla
    sses;..\lib\api.jar;..\lib\installer.jar src\com\sun\javacard\samples\HelloWorld
    \*.java
    it seems that i can't specify the -source to 1.1, so i tried to use -source 1.2..
    after that, i tried to convert again, and i got this error :
    C:\java_card_kit-2_2_1\samples\src>converter -config com\sun\javacard\samples\He
    lloWorld\HelloWorld.opt
    Java Card 2.2.1 Class File Converter, Version 1.3
    Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to lic
    ense terms.
    error: com.sun.javacard.samples.HelloWorld.HelloWorld: unsupported class file fo
    rmat of version 47.0.
    conversion completed with 1 errors and 0 warnings.Please help me regarding this..
    Thanks in advance..

  • I am facing a strange problem on new iphone 5 that I bought last week. The maps app and the places in photo gallery shows the pin and my location, however there is no information of locations. Tried to close the apps, phone restart, reset etc. Please help

    I am facing a strange problem on new iphone 5 that I bought last week. The maps app and the places in photo gallery shows the pin and my location, however there is no information of locations. Tried to close the apps, phone restart, reset etc. I am accessing it via strong wireless connection and it works fine on other devices. Please help.

    zapgrap wrote:
    there is no information of locations.
    Then no information exists.  Use the Report a Problem button within the app to report it.

  • Have an HP Officejet Pro 8500 Wireless. Trying to print to it from my iPad2. Having some problems.

    I Have an HP Officejet Pro 8500 Wireless. Trying to print to it from my iPad2. Having some problems. Trying to print docs or files from the iPad usuall gets me a page that looks scrunched up to one side. Is there a good printer app (preferably free or shareware) that I could get or is there a patch, new driver, new firmware or something for the 8500 that would allow good printing fro the iPad wirelessly?

    The latest firmware version for your printer is DLM1FN1006BR; you can verify yours by printing out a self test page via the front panel of your printer. 
    Also, the HP ePrint Home & Biz app supports printing over your local wireless network, so please verify if your printer is connected to the same access point as your iPad2.  You are also able to verify connectivity by typing your printer's ip address within the address bar of your safari web browser.
    Say "Thanks" by clicking the blue Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"; therefore, it's easier for others to find.
    I am an HP employee.

  • When trying to print, adobe reader 11.0.07 keeps "Not responding" for 2 - 5 minutes before finally working? I have tried uninstalling and re-installing but same problem. What is going on? I have windows 7

    When trying to print, adobe reader 11.0.07 keeps "Not responding" for 2 - 5 minutes before finally working? I have tried uninstalling and re-installing but same problem. What is going on? I have windows 7

    First of all, why did you say yes to Nero Back up before researching what it does with files already on the HDD? When I install Nero, the Back Up is the first thing I disable, it is a nagging pain, there are much better backup programs available. There are several file recovery programs out there to recover deleted files, that is, if that is what happened. Also, if you haven't overwritten the files, so you should be able to find them.

  • Problem when trying to print standart invoice crystal report for SAP

    Hi All, I have the following problem when trying to print a system invoice report in crystal reports for SAP
    I pass params and load the report using this code
    Private Sub DisplayThreadReportSeq()
    Dim oView As New frmViewReport
    Dim strReportPath As String = ""
    Dim strParamName As String = ""
    Try
    Dim CR As New ReportDocument
    CR.Load(oReport.CrstPath)
    ' Declare the parameter related objects.
    SetReportValues(CR)
    Dim crParameterDiscreteValue As ParameterDiscreteValue
    Dim crParameterFieldDefinitions As ParameterFieldDefinitions
    Dim crParameterFieldLocation As ParameterFieldDefinition
    Dim crParameterValues As ParameterValues
    ' Get the report's parameters collection.
    For Each oPar As cslParam In oReport.Params
    crParameterFieldDefinitions = CR.DataDefinition.ParameterFields
    crParameterFieldLocation = crParameterFieldDefinitions.Item(oPar.ParName)
    crParameterValues = crParameterFieldLocation.CurrentValues
    crParameterDiscreteValue = New CrystalDecisions.Shared.ParameterDiscreteValue
    crParameterDiscreteValue.Value = oPar.Value
    crParameterValues.Add(crParameterDiscreteValue)
    crParameterFieldLocation.ApplyCurrentValues(crParameterValues)
    Next
    If pPrint Then
    If oReport.Printer "" Then
    CR.PrintOptions.PrinterName = oReport.Printer
    End If
    CR.PrintToPrinter(IIf(oReport.Copies = "", 1, oReport.Copies), False, 0, 0)
    SBO_Application.StatusBar.SetText("Printed Document Successfully", SAPbouiCOM.BoMessageTime.bmt_Medium, SAPbouiCOM.BoStatusBarMessageType.smt_Success)
    Else
    oView.Text = pReport
    oView.TopMost = True
    oView.Viewer.ReportSource = CR
    oView.Hide()
    oView.ShowDialog()
    End If
    Catch ex As Exception
    Util_GenErrorLog("DisplayReport", ex)
    End Try
    End Sub
    This code works fine when the report invoke to print is developed in crystal reports version for .net 2008 or .net 2005
    when trying to print a report standart getting from SAP BO 8.8.1 using this code I getting the following error:
    Error in File C:UsersecombaAppDataLocalTemp5ARInvoiceStandartSap {300B9A68-DF05-4D7B-8F3B-1670A4493BEE}.rpt:
    Error in formula .
    'Shared numberVar SectionTotalMaxHeght;
    A number, currency amount, boolean, date, time, date-time, or string is expected here.
    This report is the standart report that SAP 8.8.1 includes and works fine on SAP.
    I referenced this dlls CrystalDecisions.CrystalReports.Engine.dll, CrystalDecisions.CrystalReports.Shared, version 10.2.3600
    How I can get these dll´s version for Crystal Report 2008 for SAP Business one or How I can solve this problem
    thanks in advance,
    Ezequiel.

    Hi Ezequiel,
    You can try to search in SAP Business One Reporting & Printing forum section or post there.
    nd.Q

  • I am on Acrobat DC trial. On earlier versions have no problem with duplex printing. Now with DC, it's impossible. I have tried downloading latest printer software, etc, etc. Nothing seems to0 work. Any ideas please?

    I am on Acrobat DC trial. On earlier versions have no problem with duplex printing. Now with DC, it's impossible. I have tried downloading latest printer software, etc, etc. Nothing seems to0 work. Any ideas please?

    Ralph, Thanks for replying. There where no received SIP messages at all just the INVITE being sent but I have made some more progress. The mini does indeed just work. I can do everything that you are supposed to do to other ichat users on the internet. Very nice.
    The imac is still playing up but I have got further. I had peerguardian2 installed which unknown to me doesn't need to be running to prevent you for accessing 'barred' IP addresses. snatmap.mac.com is barred in the lists! I discovered this when I saw one of your other posts showed how to turn on terminal logging for ichat. Now that I have turned off peerguardian2 (using the disable filters option) I can make calls to the testbot and see the adverts. I have even done a video conference with the two testbots. I will just uninstall peerguardian2.
    However, I can not get a AV chat working to a real user....
    In response to your suggestions:-
    I have tried all the options for quicktime streaming but will try 1.5Mb/s again.
    The ichat bandwidth limit is set to "none". I am in New Zealand and I have standard ADSL (not ADSL2+) 7.6M down 512K up. The mini config is also set to none.
    Internet sharing is off.
    I have had parallels on the machine but the two interfaces that it installed "Parallels Host-Guest" and "Parallels NAT" are configured 'off' and show as not connected. Is this enough? I will uninstall parallels and see if that helps since I don't use it. I also have VMware's thing installed but that doesn't seem to add any interfaces.
    I need to capture a full trace of the imac to other ichat user to see what is happening but will update when I have does your suggested changes or have a trace
    Thanks again

  • Hi There, I have a problem when trying to print either Email or from a web page.

    Hi There,
    I have a problem when trying to print contents fro either Email's or from web pages, the problem started after i opened Google earth and it down loaded Google Chrome i do not like Google chrome so i removed it from my pc via add and remove programmes since then when i try to print an email i get what looks like the computer settings for writing the email and not the text same for web pages, as anyone come across this problem before i can print any word or spreadsheet documents but problem is with email's and web pages.
    Many Thanks.

    Something changed on your system, possibly when Google Chrome installed. It could  be many things, but what it boils down to, is it needs to go back to the way it was. Either by removing whatever else might still be left from the install, or maybe by reinstalling the printer itself.
    007OHMSS
    I was a support engineer for HP.
    If the advice resolved the situation, please mark it as a solution. Thank you.

Maybe you are looking for

  • Edit in datasheet field is not updated in real time

    Hello, I have SharePoint 2007, a list viewed in Edit in DataSheet and a workflow attached to the list which updates a field FirstTitle in the list when the item is created.  The problem is that, while in Edit in Datasheet view, the field FirstTitle i

  • Help!! with my if statements

    I am using the following code on a JSP page, it evaluates the nulls just fine, but for some reason it does not seem to evaluate my strings to see if they are the same which gives me several duplicate lines.... <UL>     <% if(strTemp1=="") {%>      <L

  • Code Problem or Bug?

    I have a problem that seems simple to the core.  I can easily duplicate it and I am not sure why it's happening.  Here's the steps: 1. Drag a button to the stage and give it an instance name (btnHello). 2. Create a new layer (for Actions). 3. On fram

  • Debugging: start routine in transfer rules

    Hi ! can you please tell me how to debug start routines  and field routines in transfer rules? If possible please tell me too debugging of update rules.

  • Easy way to delete a book from a project w/o having to delete subfolders and topics first?

    Using TCS3 on Windows XP. One of my books has last minute changes and I would like to delete the book and then reimport the newly revised book. Is there an easy way to do this? I tried deleting from Windows Explorer, but RH just displayed a lot of me