Properties.store produces question marks

Hi all,
I'm using java 1.4. My code needs to write a property file, with some user input that contains international chars. The code needs to handle input in all languages, regardless of the system global locale or encoding settings.
I'm using:
props.setProperty("x", "<some international string>");
props.store(myFileStream);I expected the output to be something like:
x=\u1234\u4321...
But the output in the file is:
x=?????
On the other hand, if I manually create the prop file like so:
x=\u1234\u4321...
Then the following code works as needed:
props.load(myFileStream)
props.getProperty("x")How do I make Properties.store behave as expected?

I can't reproduce this here:
this SSCCE:
package snippet;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Properties;
public class SSCCE {
     public static void main(final String[] args) throws IOException {
          Properties prop = new Properties()
          prop.put("foo", "&#3585;&#3586;&#3587;");
          FileOutputStream os = new FileOutputStream("foo.properties");
          prop.store(os, "foo");
          os.close();
}Produces this output for me:
#foo
#Thu Oct 22 16:14:45 CEST 2009
foo=\u0E01\u0E02\u0E03Where do you get your String from? Is it in the .java source file? If so, do you compile your code with the correct source encoding?
Edit: and do you use an OutputStream or a Writer? I.e. what type is myFileStream?

Similar Messages

  • Error 501; iTunes store shows no images-only underlined links/question mark

    When I open iTunes store, the images show only as boxes with question marks and the text shows as an underlined blue link. When I click on anything I get a Error 501 message. My iTunes library and connection with iPod are unaffected.
    I have tried to uninstall iTunes and Quicktime. I have tried uninstalling everything related to Apple/iTunes (including Bonjour) and reinstalling Quicktime by itself (was successful). Everytime I reinstall iTunes, the store appears the same way and is inaccessible. Please help!!

    I have the same problem with our system. I contacted the Apple Help Department and they tried to help me via email (same fixes, uninstall, reinstall - same problem), but the problem persists. I can't preview the songs either and would like Apple to step up and help us all out!

  • Why do i have a question mark on my app store

    why  do I have A question mark on my app store?

    To delete that question mark, just hold the Command key and drag it off the Finder, so that question mark will be removed. That's caused when the item you had there is deleted, so Finder doesn't find it and it shows the question mark

  • The App store icon in my dock appears as a question mark. How do i get it to appear

    The App store in my dock appears as a question mark.I have a question too - how to get the App app to appear????

    read
    https://discussions.apple.com/message/15785924#15785924

  • Why does my App store just have question marks where pictures should be?

    Why does my App Store just have question Marks where the picture of the app should be

    When you log in with a new device, Apple asks security questions and will email you to make sure it is not an unauthorized access to your account.
    We are not Apple support, we are a forum of fellow users.
    You can change your information anytime in your iTunes account.
    http://support.apple.com/kb/HT5312

  • I upgraded the OS on my iMac to Lion from the App store; and after installation, it restarted and now the operating system won't start up.... it keeps displaying the apple/folder with a question mark and a circle with a line through it! Please help!

    I upgraded the OS on my iMac to Lion from the App store; and after installation, it restarted and now the operating system won't start up.... it keeps displaying the apple/folder with a question mark and a circle with a line through it! Please help!

    Try starting up with your Snow Leopard DVD and see if the disk can be repaired. Once you are at the installer screen go to the Utilities Menu and choose Disk Utility and choose repair disk. You might also want to try Diskwarrior.
    Hope this helps.
    Ben

  • White Question Mark instead of White Apple comes up when booting up. Why?

    White Question Mark instead of White Apple comes up when booting up.
    Hi guys,
    It happens regularly on booting up and then booting up stops, and I have to turn the iMac off and turn it back on again, sometimes several times, before getting a regular boot up.
    What is that about, and how to avoid it?
    Thanks,
    Raphael

    Thanks.
    I just found an Apple article dedicated to that called "Gray screen on startup."
    Symptoms
    Instead of seeing the Finder or the login window after startup, your computer may stop responding and the display may only show a persistent gray screen (you may also see an Apple logo, spinning gear, spinning globe, prohibitory sign, or a folder with a flashing question mark on it). Note: The below steps may not apply if a blue screen appears during start up.
    Products Affected
    Mac OS X 10.4, Mac OS X 10.6, Mac OS X 10.5
    Resolution
    Note: Some steps below may reset preference settings or registration settings.
    Disconnect, test peripheral devices and network cables
    Note: "Peripheral devices" refers to external devices other than what came with your Mac, such as hard drives, printers, or hubs that you connect via a USB or FireWire cable.
    Shut down your Mac. If necessary, hold your Mac's power button for several seconds to force it to power down.
    Disconnect all peripheral devices such as external hard drives or printers (leave only the display, a keyboard, and mouse connected).
    Disconnect any Ethernet cables.
    Start up your Mac.
    If you can start up this way, one or more of your peripheral devices (or installed software related to the device) is probably causing the gray screen issue. Connect one device, then restart your Mac to test for the issue. Repeat the process until you locate the device at issue. Make sure the device is powered if it needs to be to operate correctly. Check with the manufacturer of the device for support or possible software driver or firmware updates that may be available for the device. Try a different cable with the device if possible (such as a different USB or FireWire cable).
    Note: If you have multiple peripheral devices and the issue only occurs when they are all connected, but not when each device is the only peripheral connected, see the Additional Information section below.
    If you are using a desktop Mac with a third-party keyboard and/or mouse device, and the issue still occurs, try starting up with an Apple keyboard and mouse connected instead. Try starting with no keyboard and mouse connected, then connect them after start up. Also, try a different USB port on your Mac.
    If the gray screen issue persists with no devices connected, go to the next section (with the peripherals still disconnected).
    Perform a Safe Boot
    Simply performing the Safe Boot may resolve this issue.
    Shut down your Mac. If necessary, hold your Mac's power button for several seconds to force it to power down.
    Start your Mac, then immediately hold the Shift key. This performs a Safe Boot. Advanced tip: If you want to see the status of a Safe Boot as it progresses, you can hold Shift-Command-V during start up (instead of just Shift).
    Note: A Safe Boot takes longer than a typical start up because it includes a disk check and other operations.
    If your Mac starts up as expected, immediately try restarting.
    If the Safe Boot does not work, or the restart after a successful Safe Boot does not work, go to the next section.
    Reset the NVRAM / PRAM
    Shut down your Mac. If necessary, hold your Mac's power button for several seconds to force it to power down.
    Reset the NVRAM / PRAM.
    If the gray screen issue persists, go to the next section.
    Start from your Mac OS X Install disc; use Disk Utility
    Insert your Mac OS X 10.4 or 10.5 installation disc (if you have discs with both versions, use whichever is closest to the Mac OS X version installed on your Mac; do not use a startup disc which came with a different Mac or which contains an earlier version of Mac OS X).
    Shut down your Mac. If necessary, hold your Mac's power button for several seconds to force it to power down.
    Start up your Mac while holding the C key to start from the disc.
    Once started from the disc, choose Disk Utility from the Utility menu.
    Note: If the gray screen issue persists and you can't start from the disc, go to the "Disconnect peripheral devices" section.
    In Disk Utility, perform a disk repair of your Mac OS X volume; if no issues are found, perform a permissions repair as well. If issues are found during the disk repair, try repairing again.
    After the Disk Utility operations are complete, restart without holding any keys.
    If the gray screen issue persists, go to the next section.
    Check your cables and power source
    Make sure your power cables are secure (especially if you use a desktop Mac). Try a different cable or outlet if possible. If you use a surge protecter, try connecting directly to an outlet as a test.
    If you have power-related issues (such as your desktop Mac shutting down or restarting, or room lights dimming when an appliance comes on, consider contacting a certified electrician to check your outlets and electrical wiring).
    If the gray screen issue persists, go to the next section.
    Remove third-party RAM and internal hardware
    Note: Skip this section if only Apple-brand RAM is installed in your Mac.
    Remove any non-Apple RAM or other third-party hardware upgrades (such as expansion cards or third-party optical drives or hard drives, if present) to help isolate the issue. This is necessary to get as close as possible to the original factory hardware configuration of your Mac.
    If you are not sure which RAM modules or other hardware is Apple or third-party, or if you are not comfortable performing these steps, or if you have a Mac mini, consider contacting an Apple Authorized Service Provider for assistance. Otherwise, perform these steps before going to the next section.
    Shut down your Mac. If necessary, hold your Mac's power button for several seconds to force it to power down.
    Open your Mac to access the memory slots. Refer to the User Guide that came with your Mac, or search Apple Support Manuals for a PDF copy of your Mac's User Guide.
    Remove any third-party RAM that has been installed.
    Reinstall the Apple RAM that came with the computer if available. Note that Mac OS X 10.5 requires 512 MB or more of RAM; Mac OS X 10.4 requires 256 MB or more of RAM.
    If your Mac starts up with only Apple RAM installed, contact the vendor of your third-party RAM.
    If the gray screen issue persists, go to the next section.
    Perform an Archive and Install installation of Mac OS X
    If the above steps do not resolve the issue, and you can successfully start from your Mac OS X Install disc as noted above:
    Insert your Mac OS X 10.4 or 10.5 installation disc (if you have discs with both versions, use whichever is closest to the Mac OS X version installed on your Mac; do not use a startup disc which came with a different Mac or which contains an earlier version of Mac OS X).
    Shut down your Mac. If necessary, hold your Mac's power button for several seconds to force it to power down.
    Start up your Mac while holding the C key to start from the disc.
    Perform an Archive and Install installation (preserving users and network settings).
    After installation, if the gray screen issue persists, go to the next section.
    Perform an Erase and Install installation of Mac OS X as a last resort
    Important: You should only perform this step after trying all of the above steps. This process will erase all files from your Mac OS X volume. If possible, back up important files first, or use Time Machine. You may be able to connect your Mac to another Mac with a FireWire cable and FireWire target disk mode, in order to try to manually back up files. Alternatively, you may wish to make an appointment with a Mac Genius at an Apple store, or contact an Apple Authorized Service Provider for assistance.
    To erase your Mac OS X volume and reinstall Mac OS X:
    Insert your Mac OS X 10.4 or 10.5 installation disc.
    Shut down your Mac. If necessary, hold your Mac's power button for several seconds to force it to power down.
    Startup your Mac while holding the C key to start from the disc.
    Perform an Erase and Install installation of Mac OS X.
    After installing, starting from your Mac OS X volume, and verifying the issue is resolved, you should use Software Update to update to the latest available version of Mac OS X.
    Additional Information
    If the issue persists after you follow the above steps, you may wish to make an appointment with a Mac Genius at an Apple store, contact AppleCare via phone, or contact an Apple Authorized Service Provider for assistance.
    If the issue only occurs when multiple peripheral devices are connected
    If a gray screen appears during start up only when several peripheral devices (that is, USB and/or FireWire devices) are connected, and you don't want to have only one device connected at a time, the issue may be caused by a combination of the peripheral devices.
    To illustrate this hypothetically, you may have three USB devices, which we'll call "A", "B", and "C". The issue may be that peripherals A and C have a conflict of some sort, and a gray screen only appears if they both are connected, but not if each one is connected separately. In the above "Disconnect, test peripheral devices and network cables" section you may have inferred that you have an issue only with device C because it was added after A. To avoid an inaccurate analysis, connect device C to your computer with no other devices. If your Mac has the startup issue with only device C connected, then you know it is the source of the issue. However if your Mac starts up, you have a conflict of devices to work out. To do this add the other devices one at a time with device C connected until your startup issue occurs (restart after adding one device). Repeat this process until you have just the minimum set of devices to produce your startup issue.
    What can you do?
    You should make sure each device has the latest firmware installed if applicable--check with the manufacturer for more information. You should also check for the latest driver versions, and if necessary install them while started in Safe Mode per above.
    If any of the devices requires a separate power source, be sure that power is connected to the device (for example, even if a device appears to be powered when connected via USB without the power cable, connect its power cable).
    Try different USB or FireWire cables with each device, as applicable.
    If you have a device similar to one of the conflicting devices, try replacing it with another one.
    Contact each device manufacturer or the materials that came with the device. for more support information or, if needed, service options.

  • Account with an icon of a face and a question mark

    Same issue of other user in Yosemite Apple Support.
    Following advises on that thread I also installed the ETRECHECK software tool, report is as follows:
    Problem description:
    At the login screen I find an icon with a face and a question mark in it - with a message it needs an update.
    EtreCheck version: 2.1.5 (108)
    Report generated 02 gennaio 2015 12:37:26 CET
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
      MacBook Pro (13-inch, Mid 2012) (Verified)
      MacBook Pro - model: MacBookPro9,2
      1 2.5 GHz Intel Core i5 CPU: 2-core
      16 GB RAM Upgradeable
      BANK 0/DIMM0
      8 GB DDR3 1600 MHz ok
      BANK 1/DIMM0
      8 GB DDR3 1600 MHz ok
      Bluetooth: Good - Handoff/Airdrop2 supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 4000
      Color LCD 1280 x 800
    System Software: ℹ️
      OS X 10.10.1 (14B25) - Uptime: 1:22:54
    Disk Information: ℹ️
      APPLE HDD HTS545050A7E362 disk0 : (500,11 GB)
      EFI (disk0s1) <not mounted> : 210 MB
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      Macintosh HD (disk1) / : 498.89 GB (467.03 GB free)
      Encrypted AES-XTS Unlocked
      Core Storage: disk0s2 499.25 GB Online
      MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Computer, Inc. IR Receiver
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist [Support]
    User Login Items: ℹ️
      iTunesHelper Applicazione (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
      Dropbox ApplicazioneHidden (/Applications/Dropbox.app)
    Internet Plug-ins: ℹ️
      FlashPlayer-10.6: Version: 16.0.0.235 - SDK 10.6 [Support]
      Flash Player: Version: 16.0.0.235 - SDK 10.6 [Support]
      QuickTime Plugin: Version: 7.7.3
      Default Browser: Version: 600 - SDK 10.10
    Safari Extensions: ℹ️
      Pin It Button [Installed]
      Save to Pocket [Installed]
      Add To Amazon Wish List [Installed]
    3rd Party Preference Panes: ℹ️
      Flash Player  [Support]
    Time Machine: ℹ️
      Time Machine not configured!
    Top Processes by CPU: ℹ️
          14% WindowServer
          3% hidd
          2% Safari
          1% Dock
          0% fontd
    Top Processes by Memory: ℹ️
      333 MB com.apple.WebKit.WebContent
      155 MB mds_stores
      137 MB Safari
      137 MB Finder
      86 MB Dropbox
    Virtual Memory Information: ℹ️
      7.76 GB Free RAM
      4.88 GB Active RAM
      3.28 GB Inactive RAM
      1.26 GB Wired RAM
      4.73 GB Page-ins
      0 B Page-outs
    Diagnostics Information: ℹ️
      Jan 2, 2015, 11:15:06 AM Self test - passed
      Jan 2, 2015, 12:06:57 AM /Library/Logs/DiagnosticReports/Dropbox109_2015-01-02-000657_[redacted].cpu_res ource.diag [Details]
    ---------- is there any troubleshooting for delete that fake account every time I start my Macbook Pro?
    thanks and regards
    Edoardo

    Smiley face with a ? means a bootable system is not found.
    There maybe  a problem with either system software or hard drive itself.
    Try this.
    Repair Disk
    Steps 2 through 8
    http://support.apple.com/kb/PH5836
    Best.

  • PDF Preview for a  PO template with polish characters shows question marks

    When I view the PDF using application I see the polish characters(Boilerplate text) as question marks. But when I view it through XML Publisher Dsktop version 5.5.0 it is fine I have download the new version of adobe 7.08 and I can see the polish characters but the preview in XML publisher in the application stll shows "?"

    No I havent configured any fonts on desktop/application .. when I view Document properties on the PDF which works the XML Publisher version 5.5.0 and that of the application is 5.6.0.
    In the fonts tab on the desktop version there is one additional one listed fromt he application one - AlbanyWTJ(Embedded Subset)

  • My MacBook has question marks on all folders and won't run ANY program. Help!

    A week ago I was editing some photographs in Photoshop CS 5 extended. My computer has been running slow for a while so I thought that I would finish these files and then clear it of some photos since I know I've recently uploaded several gbs onto it.
    The next day it was frozen. I had to shut it down and restart. It came on and now every folder has a question mark on it and none of the programs will open. They just bounce up and down and then the menu bar says Application not responding.
    I have no idea what I need to do. I was going to update to Lion but I'm unsure if that's what I should do or if it needs some TLC from the apple store.
    Help?

    A professional will image your drive and attempt a bit by bit file recovery method directly from the drive itself.
    You see when you delete something, it's not quite erased yet, but the space the file took is available to be overwritten, so it's only a matter of time before that occurs and the file is really gone.
    So they will recover what they can, and then restore your machine and it's software and return the recovered files.
    The TimeMachine is certainly going to assist, good thing you got it.
    The trick is to hire someone and quit using the computer until they rescue you, show you in person how to rescue yourself .
    Good Luck

  • Grey Screen with Flashing Folder with Question Mark

    Hi,
    I need some help with an issue I'm having on my Mid-2012 Macbook Pro (13"; OSX 10.9.2; 8GB RAM).  I've had issues with this Macbook for the past year.  I've worked with Apple Support and had it into the Mac Store prior to the warranty expiring (Dec 2013).  I have the exact same model with all of the same specs that my employer purchased at the same time for work as my work computer, and I haven't had any issues with that one.
    Previously, the system would slow down excessively and eventually start hanging. Occasionally the screen would start flashing.  Apple phone support had me wipe the hard drive and re-install the OS and all of my file, apps, and setting from my Time Machine backup.  That worked for about four months, and then it started again. Since it was getting close to the warranty expiration, I took it to an Apple Store. They ran a bunch of diagnostics, said the hardware was all fine but the OS needed to be re-installed.  They did that in early Dec, and everything was cool again until about three days ago.  Three days ago, it started slowing down and freezing again (even when doing non-memory intensive tasks such as broswing the web with only a couple of tabs open and no other applications open).  Last night, it froze hard and wouldn't shut down, so I had to cold boot it.  When I tried to power it back on, it came to the grey screen with the flashing folder with the question mark (which I know means it can't find the boot sector).  I waited until this morning, and it stil wouldn't boot. I then rebooted into Startup Manager, and the HDD was there. I selected the HDD, and it booted fine and ran fine for a couple of hours (I was able to do a Time Machine backup).  Then it froze up solid again. I waited for an hour or so before cold booting (don't like doing that), and when I tried rebooting, I got the flashing folder with the question mark. I tried booting into the Startup Manager again, but this time, my HDD wasn't listed. I then booted into the OSX Recovery utility (CMD R on boot), went into the Disk Utility hoping to do a disk repair, but my HDD wasn't listed. I have an external SATA to USB adapter, so I pulled the HDD, hooked it to a USB port on my other (identical except it doesn't have problems) Macbook Pro.  Once my other Macbook booted, the HDD from the bad Macbook Pro showed up fine.  I ran a verify and repair disk on the HDD from the bad Macbook, and it didn't show any issues.
    So I figured I'd be really brave. I took the HDD from the bad Macbook Pro and put it in my work (good) Macbook Pro (I took the HDD out of my working work Macbook Pro).  It booted fine.  I then did the verify and repair disk (again no errors) and verify and repair permissions (it found a few, but no more than it has in the past). I ran it that way for about an hour with no issues. That led me to believe that the HDD for my personal Macbook was fine, and it must be an issue with the SATA cable or the mainboard. 
    Here's where it gets odd.  I put the HDD from my work Macbook Pro into the bad Macbook Pro thinking it wouldn't even recognize it.  It did recognize it, and it booted fine.  I ran it like that for about 30 minutes.  It did have a couple of short freeze ups, but it didn't lock up solid. I didn't want to push my luck and possibly damage the HDD for my work Macbook, so I shut down the bad Macbook Pro ended the experiment at that point.
    I put the original HDD back in the Macbooks where they originally came from. I then ran the Apple Hardware Test (press and hold D on startup) on the bad Macbook Pro; I did the extended testing option. It ran for about an hour, but it didn't find any issues with the bad Macbook Pro. 
    I put the HDD from the bad Macbook back in my working Macbook and wiped the disk and reinstalled OSX from a Time Machine Backup from last week (before the problems occured).  Put it back in the bad Macbook and still no luck. Finally I tried resetting the PRAM because I saw that as one of the options on this discussion board. 
    I've searched and read everything I can find related to this, but I can't find anything that works, and I'm at my wits end.  Can anyone point me in a direction of what might be wrong and what else to try?
    Thanks!
    Mike

    You performed thorough and methodical troubleshooting, and this appears to be the most important result:
    I put the HDD from my work Macbook Pro into the bad Macbook Pro thinking it wouldn't even recognize it.  It did recognize it, and it booted fine.  I ran it like that for about 30 minutes.  It did have a couple of short freeze ups, but it didn't lock up solid.
    Given compatible hardware, you ought to be able to swap hard disk drives in exactly that manner, so it shouldn't surprise you that it worked. However, installing the "known good" HDD in the problem machine should not have resulted in any freeze-ups at all.
    You can conclude the hard disks (both of them) are serviceable and whatever fault exists probably lies elsewhere. Often the SATA cable is damaged or not seated properly, and is likely to fail more than anything on the logic board. Inspect the logic board's SATA connections and make sure there are no contaminants or damage. The two drives and two logic boards are going to have slightly different component tolerances, so perhaps the defective one is simply exceeding some limit.
    Apple Hardware Test is very cursory and essentially tests for the presence of operable hardware. It is far from an exhaustive test, and only a report of a failure can be relied upon for accuracy. For a more thorough test you would need to have Apple evaluate it using the time-consuming Apple Service Diagnostics. Even then, they may come up without a clue, and eventually someone will suggest a logic board replacement which can be expensive.
    It is an unusual problem, and I don't know how much time Apple would invest in diagnosing it before they conclude you really ought to buy a new Mac instead. They might surprise you though in that a "depot repair", if yours is eligible, is a very cost effective option so consider it.
    Given your ability you might also consider purchasing a replacement logic board from PowerbookMedic, or even sending it to them for a flat rate repair.

  • My macbook fell and since then a white screen with question mark appears

    hey guys!
    i really need to know what to do, my macbook fell while it was on. it froze so i restarted it, but the white screen comes in with the apple begining sound and everything but the screen stays blank for about two minutes and then a folde with a question mark appears. i tried putting in the cd that came with it, samething happened but after a while the appe sign appears and the computer started off my installation disc, so i try re installing everything, but when i get to the screen that asks to select a destination, there is nothing available.
    i realize that the best thing to do is to go to an apple store and then sort everything out, but i am in haiti where the nearest apple store is in miami, i really need your help and i'm desparate cuz i cannot do anything without my laptop... please send me your help as soon as possible.
    thanks in advance

    Your hard disk has been damaged. At this point, it will need to be replaced with a new one. You'll need to call AppleCare and they'll have you mail it in for repairs. I'm not sure what the usual turnaround time for that is internationally, but in the United States it's about a week. I'd tack on a few extra days to get the laptop to and from Haiti.
    Either way, your computer will need to be repaired and the data that was on your hard disk will be lost. (Unless you take the machine to a 3rd party repair shop that specializes in recovering data from damaged hard disks.)

  • After upgrading to Yosemite I cannot download updates and the icons are not question marks.

    I upgraded from Mavericks to Yosemite, I cannot download any updates for apps and cannot purchase apps. When I go to the app store all the icons are have question marks in them. Any ideas on what I can do to fix this problem?

    Repair permissions & restart your comp.

  • My MacBook Pro (15-inch Mid 2009) question mark on startup

    My MacBook Pro (15-inch Mid 2009) has a question mark on startup.
    I brought it to my local apple service centre and they told me that after a few tests it was the hardrive, so they changed it under-warranty. Back home I started re-installing my system and got again a question mark on startup.
    I decided to put the hardrive in a FW800 external enclosure and boot my system this way and the computer started without any problem. I reinstalled the hardrive in the MacBook Pro and again got a question mark on startup.
    I decided to buy another drive, Seagate momentus XT 500Go, transfered all my files in this new drive and I installed it inside the MacBook Pro, still the same question mark on startup. I installed it again in my FW800 external enclosure and everything worked fine.
    I decided to installed it again in the MacBook Pro, load the computer via the original Mac OSX install DVD, load the system and try to install a new fresh one on the hardrive... no hardrive were found....
    So I decided again to bring it back to the same local service centre, and they told me again it was the hardrive the problem... but they don't want to listen to me when I told them that all my hardrives can startup the computer via an external enclosure....
    So I would like your help, I think the problem come from the cable that linked the HD to the motherboard or the SATA chip inside the motherboard, but they don't want to test it !!!!
    Thanks in advance for you help, I have been without my computer since 2 weeks now and I can't afford working without it any more !!!
    Sincerely
    bosa30

    You need to take this computer to a real Apple Store. Or call AppleCare. Obviously this "local serve centre" doesn't have the skills to deal with your issue.
    I'd also check your RAM, as an easy first step. But I think the HD controller in your Mac is bad, since you can boot from an external drive.

  • Getting question marks in html output when XML sourced from a CLOB...

    I have noticed a number of other unanswered questions on the
    same subject in this forum. Can someone at Oracle shed some
    light on this problem?...
    I store XML in CLOBS which contain a lot of &eacute; &ouml;
    characters. When using XSQL to select the XML from the CLOB I
    have to apply a stylesheet to the XSQL (myFile.xsql) with
    disable-output-escaping ="yes" in order to output well formed
    XML.
    I then call the XSQL file from inside another stylesheet i.e.
    <xsl:variable name="sample" select="document(myFile.xsql)"/>
    <xsl:template match="/">
    <xsl:for-each select="$sample">
    <html>
    <body>
    <title>
    <xsl:value-of select="/page/title"/>
    </title>
    </body>
    </html>
    etc...
    I use <xsl:for-each select="$sample"> to output the XML I need,
    within the HTML. The problem is though if "&eacute;" appears in
    the /page/title node the output in HTML appears as a question
    mark.
    Its important to note as well that the stylesheet I apply to
    myFile.xsql starts with:
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output doctype-system="/myFile.dtd" indent="yes"/>
    etc..
    and myFile.dtd has <!ENTITY eacute "&#x000E9;"> in order to
    validate &eacute; in the CLOB.
    I don't have this problem when the &eacute; character is stored
    in a VARCHAR2 column and the VARCHAR2 column is in the same
    select statement as the CLOB in the XSQL file. This outputs in
    my HTML just fine. What am I missing here?
    Shaun

    I parse the XML doc into a domdocument and then loop through using xpath.valueof to pull the individual values from the nodes and then build a generic insert. It works quite well with a small number of columns. I'm not sure how it would work with a lot of columns. You can get code examples from Steve Muench's book "Developing Oracle XML Applications".

Maybe you are looking for