When I open an html file saved in UTF-8 format the 3-byte file header (usually hex EF BB BF) is shown as text at top-left. How can I avoid this - all other browsers interpret the header correctly and don't show it.

I write VB apps that create web pages for international sports scoring systems, and these must be able to show Latin, Cyrillic, eastern names etc. that require 2-bytes for some characters in the text. This means saving in UTF-8 to avoid 8-bit ASCII files being created. UTF-8 files typically have a 3-byte header = hex EB BB BF, and with all browsers except Firefox this header is interpreted and not shown. Firefox however always displays these characters as  at the top-left screen position. What do I have to do the make Firefox recognize UTF-8 files, or do to my UTF-8 files to work properly with Firefox?
See http://www.iacusn.org/USN2010/results/ for a typical recent example.

You see that UTF-8 BOM (Byte Order Mark) because of the content type specification in the page code.
<pre><nowiki>content="text/html; charset=windows-1252"</nowiki></pre>
If you remove that or change it to utf-8 then Firefox won't show that BOM as text. There is however no need to insert that BOM at the start of the file. You can also configure the server to send the file (all files) as utf-8.

Similar Messages

  • When I try open a .pdf file my Adobe Reader 11 only allows the download / save opening the related window and don't show me both options 1) open with ... and 2) save as.... probably someone flagged the choise... always perform this way ....

    When I try open a .pdf file my Adobe Reader 11 only allows the download / save opening the related window and don't show me both options 1) open with ... and 2) save as.... probably someone flagged the choise... always perform this way ....
    Could some one give help and let me know where I can probably find the settings option that allows me to change and switch to previous situation where it was possible to decide time to time how to proceed either opening the file or saving it ??
    Thanks in advance
    David

    What is your operating system?
    Open a PDF from where?  If online, in what browser?

  • My computer froze during match initial formatting.  Now some songs are uploaded others are "greyed out."  If I go song by song, I can update match.  How can I do this all at once and also update album art?

    My computer froze during match initial formatting.  Now some songs are uploaded others are "greyed out."  If I go song by song, I can update match.  How can I do this all at once and also update album art?

    Hi gdogk,
    If there was an interruption during the initial iTunes Match process and you are now having issues with playback and album art, you may find the troubleshooting steps outlined in the following article helpful. In particular, you may want to turning iTunes Match off, then back on again, as noted here:
    If iTunes Match is already enabled on your computer or device, try turning iTunes Match off and then on again.
    Mac: While holding down the option key, choose Store > Turn Off iTunes Match.
    Turn iTunes Match on by selecting Store > Turn On iTunes Match.
    Windows: While holding down the shift key, choose Store > Turn Off iTunes Match.
    Turn iTunes Match on by selecting Store > Turn On iTunes Match.
    How to troubleshoot iTunes Match - Apple Support
    Regards,
    - Brenden

  • I am trying to make a iphoto book but every time i click on a single photo or folder it opens up a new book. How can I avoid this? This is iphoto 10.

    I am trying to make a iphoto book but every time i click on an individual photo (or folder) it opens up a new book. How can i avoid this?

    Export the slideshow out of iPhoto as a QT movie file via the Export button in the lower toolbar.  Select Size = Medium or Large.
    Open iDVD, select a theme and drag the exported QT movie file into the open iDVD window being careful to avoid any drop zones.
    Follow this workflow to help assure the best quality video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process. 
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    If iDVD was not preinstalled on your Mac you'll have to obtain it by purchasing a copy of the iLife 09 disk from a 3rd party retailer like Amazon.com: ilife 09: Software or eBay.com.  Why, because iDVD (and iWeb) was discontinued by Apple over a year ago. 
    Why iLife 09 instead of 11?
    If you have to purchase an iLife disc in order to obtain the iDVD application remember that the iLife 11 disc only provides  themes from iDVD 5-7.  The Software Update no longer installs the earlier themes when starting from the iLIfe 11 disk nor do any of the iDVD 7 updaters available from the Apple Downloads website contain them. 
    Currently the only sure fire way to get all themes is to start with the iLife 09 disc:
    This shows the iDVD contents in the iLife 09 disc via Pacifist:
    You then can upgrade from iDVD 7.0.3 to iDVD 7.1.2 via the updaters at the Apple Downloads webpage.
    NOTE:  If you're running iPhoto 9.5 the export options will be different.
    OT

  • HOW CAN I AVOID THIS ERROR MESAGE WHILE TRYING TO EXPORT AN IPHOTO SLIDESHOW:  The operation couldn't be completed. (OSStatus error -61.)

    HOW CAN I AVOID THIS ERROR MESAGE WHILE TRYING TO EXPORT AN IPHOTO SLIDESHOW:  The operation couldn’t be completed. (OSStatus error -61.)

    Hello,
    I believe the issue was the external HD I purchased was not formatted for Mac . . . once I took care of that - all went well!  The slide show transferred and the surprise 70th birthday party was a huge sucess.  Thank you everyone!

  • When I create an email signature, the text I type is repeated twice in the actual email sent (above and below a line).  How can I avoid this?

    When I create an email signature, the text I type is repeated twice in the actual email sent (above and below a line).  How can I avoid this?

    Try validating your installed fonts and fixing any errors that show up. To do this see this article: http://reviews.cnet.com/8301-13727_7-20085570-263/safari-in-os-x-lion-replacing- text-with-block-a-characters/

  • Some snaps show up as black screens when I try to view them as single pictures.Even when I run them in slideshows they show up as black screens.These are jpeg files.How can I avoid this happening?

    Some snaps show up as black screens when I try to view them as single pictures.Even when I run them in slideshows they show up as black screens.These are jpeg files.How can I avoid this happening?

    There are several possible causes for the Black Screen issue
    1. Permissions in the Library: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the option to check and repair permissions.
    2. Minor Database corruption: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild.
    3. A Damaged Photo: Select one of the affected photos in the iPhoto Window and right click on it. From the resulting menu select 'Show File (or 'Show Original File' if that's available). Will the file open in Preview? If not then the file is damaged. Time to restore from your back up.
    4. A corrupted iPhoto Cache: Trash the com.apple.iPhoto folder from HD/Users/Your Name/Library/ Caches...
    5. A corrupted preference file: Trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    If none of these help:
    As a Test:
    Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • The customized settings on my toolbar periodically disappear, and I have to re-set them. How can I avoid this nuisance?

    The customized settings on my toolbar periodically disappear, and I have to re-set them. How can I avoid this nuisance?

    If you mean you're about to perform a restore from a backup to a new device, it depends on the app.  Some will retain their passwords, some will not.  That's my experience.

  • I am trying to make a one to one reservation at a closer Apple store in Denver but each time I put my password in it kicks me over to the retail store where I purchased the one to one service. How can I avoid this?

    I am trying to make a one to one reservation with my new MacBook Air at a retail store of my choosing but each time I put in my password it kicks me over to the Apple store where I purchased the one to one service. How can I avoid this and reserve at the store of my choice?

    I would try the 'old fashioned way, the telephone.
    Ciao.

  • Iphone4  when im talking to someone i always press the mute button how can i avoid this?

    While on the phone i always press the mute or hold button while talking to someone how can i avoid this its driving me crazy so i end up just using speaker phone

    If you have a case on the phone, take it off. It may be interfering with the proximity sensor.  If you have a screen protector, take it off. It may be interfering with the proximity sensor.  Make sure you actually old the phone against your ear. if you hold it away from your ear, the proximity sensor may not be able to tell that you have it up to your face.

  • HT4528 My iphone is telling me I need to do a system restore and wont restart. Screen shows itunes logo and that is it. If I do this how can i avoid losing all my pictures videos etc?

    my i phone is telling me I need to do a restore. Screen shows itunes logo and thats it, even after turning off and on again.
    if  do this how can I avoid losing all my pictures videos etc?

    Pictures/Videos in your camera roll? If so, & not backed up or imported to your computer, they are gone. There's no supported way to recover them now.

  • HELP PLEASE!  I logged in with my iCloud account and merged her contacts with mine how can I undo this If i log out her contacts erase and stay on my iPhone and visa versa

    HELP PLEASE!  I logged in with my iCloud account and merged her contacts with mine how can I undo this If i log out her contacts erase and stay on my iPhone and visa versa

    One of you will need to migrate to a separate iCloud account, then you can delete the other person's data from each account.
    To migrate to a new account, start by saving an photo stream photos that are not in your camera roll to your camera roll.  To do this, open your my photo stream album, tap Select, tap the photos, tap the share icon (box with upward pointing errow), then tap Save to Camera Roll.  Then go to Settings>iCloud, tap Delete Account, choose Keep on My iPhone when prompted, provide the account password to turn off Find My iPhone when prompted, then sign in with a different Apple ID to create the new account and choose Merge to upload your data.
    You can then each to to your iCloud accounts on icloud.com from your computer and delete the other person's data from your account.

  • I find 'plugin-container.exe' takes up 68-91% of my CPU and effectively hangs my machine; how can I avoid this, from happening?

    I find 'plugin-container.exe' takes up 68-91% of my CPU and effectively hangs my machine; how can I avoid this, from happening?

    You can disable the plug-in container for one or two plug-ins, or for all the plug-ins it works for. <br />
    http://kb.mozillazine.org/Plugin-container_and_out-of-process_plugins

  • I have some chrages on my debit card by error how can i avoid this charges

    i have some charges in my debit card by error how can i avoid this charges.... i reset my password as an email said with that resert the charges won´t be reflected in my account?

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • Stockbroker states that "invalid session" message is due to brownser how can I avoid this?

    I tried to cover a short sale while trading online. Could not execute the trade. Got a message in red "invalid session". Broker tech support stated that it was not their software, it was cause by the browser, Firefoz 5.0 running on Windows XP. How can I avoid this?

    That is not very easy to answer, because the cause of the corruption is unknown.<br />
    In severe cases you may even need to delete the file cookies.sqlite that stores the cookies.<br />
    There is also a possibility that security software or cleanup software is causing such problems.
    If you've never seen it before then it may not happen again, but it is not that difficult to remove the cookies in such a case.
    See also:
    *https://support.mozilla.com/kb/Clear+Recent+History

Maybe you are looking for