The charsetalias.properties file is gone in Firefox 4? Most web sites in Hong Kong use the Big5-HKSCS charset but declare the charset as Big5. Without charsetalias.properties, the encoding needs to be manually changed very often when viewing them.

I have been defining Big5 as an alias of Big5-HKSCS in charsetalias.properties. This makes Firefox renders pages declared as "Big5" to be rendered in Big5-HKSCS instead. Big5-HKSCS is a standard published by the Hong Kong government because the Big5 charset does not contain many common Chinese characters used in Hong Kong. However, Big5-HKSCS is just an extension of Big5, so most (if not all) Chinese web sites in Hong Kong using Big5-HKSCS declare their pages to be in Big5 in the <meta> tag.
I am now trying out Firefox 4 RC and found that the charsetalias.properties file is no longer there. So in order to read pages containing characters that are in Big5-HKSCS but not in Big5, I need to switch the encoding manually. This is extremely inconvenient. Can you consider bringing charsetalias.properties back?
[http://groups.google.com/group/mozilla.dev.i18n/browse_thread/thread/415caa98a6246a00 Someone noticed this issue as well.]

Here's the script I was working on.
It determines the encoding of the site by checking a couple of different ways the meta tag can supply encodings. One way is to have a charset attribute on a meta tag, and the other way is to have a meta tag with http-equiv="content-type" and have charset= be part of the content attribute.
(note: I think [https://developer.mozilla.org/en/DOM/document.characterSet document.characterSet()] might be a far more reliable way to detect encoding since it doesn't depend on the specific way the meta tag was written. But I haven't tested it.)
Debugging messages showed that it could detect the specified encodings fine on the few test pages I was trying it on. The problem is in the way I change the encoding.
It currently uses .setAttribute to attempt to modify the meta tags once it finds the encodings. Unfortunately, this doesn't change the selected encoding in Firefox. It doesn't affect the page source, either.
I have to replace those setAttribute calls with something that will actually affect the selected encoding in Firefox.... but I'm not sure what would accomplish that.
http://pastebin.com/Yt7fygXe
Just a little warning, it's case- and whitespace-sensitive because I didn't get around to using regular expressions yet. So if a page says charset="BIG5", you'll probably need to make it uppercase in the script as well. Sorry, I'm lazy!
Nonetheless, I ''hope'' this is a start...

Similar Messages

  • I am having major problems with Firefox. About 3 weeks ago I started experiencing the display only when on Firefox for all web site, that the display would be shifted right about half a screen. It only happens on Firefox and happens for all web sites.

    I am having major problems with Firefox. About 3 weeks ago I started experiencing the display only when on Firefox for all web site, that the display would be shifted right about half a screen. It only happens on Firefox and happens for all web sites.

    This issue can be caused by the Babylon Toolbar 1.1.8 extension
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • I'm now using iPhoto '11 (9.3.2), and none of the photos in my library will enlarge.  I can view them all as thumbprints, but when I click to enlarge just a black, blank space shows up.  Occasionally, one will enlarge for a second, then disappear.  Help!

    I'm now using iPhoto '11 (9.3.2), and none of the photos in my library will enlarge.  I can view them all as thumbprints, but when I click to enlarge just a black, blank space shows up.  Occasionally, one will enlarge for a second, then disappear.  Help!

    Just to clarify, I am not getting an "!" mark in a triangle, as I read others have experienced.  The screen is just blank except the grey flag in lefthand corner to flag the photo.

  • TS3474 My Ipod will not play the next song, it continously plays the same song unless I manually change it

    My iPod will not play the next song, it continously plays the same song unless I manually change it.

    It sounds like the repeat setting has been enabled. See page 21 of your iPod's User Guide for instructions on turning it off.
    http://manuals.info.apple.com/en_US/iPod_nano_6thgen_User_Guide.pdf
    B-rock

  • I was on facebook and deleted an icon by using the right-click menu but then all my pictures and all profile pictures, could no longer be seen. I was able to view them in Explorer so this is something I did in Firefox. How can I unblock a site?'

    '''I was on facebook and deleted an icon by using the right-click menu but then all my pictures and all profile pictures, could no longer be seen. I was able to view them in Explorer so this is something I did in Firefox. How can I unblock a site?'''

    If you select that right-click context menu entry then you block all images from that domain and not one specific image, so do not use that.
    * Check the exceptions in Tools > Options > Content: Load Images > Exceptions (e.g. sphotos.ak.fbcdn.net)
    You can use these steps to check if images are blocked:
    * Open the web page that has the images missing in a browser tab.
    * Click the website favicon ([[Site Identity Button]]) on the left end of the location bar.
    * Click the "More Information" button to open the "Page Info" window with the Security tab selected (also accessible via "Tools > Page Info").
    * Go to the <i>Media</i> tab of the "Tools > Page Info" window.
    * Select the first image link and scroll down through the list with the Down arrow key.
    * If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.

  • In most web sites many web sites, the menue buttons do not appear i have to scroll over the screen untill the cursor changes indicating a button is actually there, and guess which one it is. I am using windows 7 , 64 bit

    In most web sites many web sites, the menu buttons do not appear i have to scroll over the screen until the cursor changes indicating a button is actually there, and guess which one it is. I am using windows 7 , 64 bit

    See:
    * http://kb.mozillazine.org/Website_colors_are_wrong
    * http://kb.mozillazine.org/Websites_look_wrong

  • Hi my name is Vajra from INDIA, i am using ipod shuffle 3rd generation but it is not working properly due to battery problem, i need to change the battery please guide me how to change the battery or any chance to replace the ipod shuffle 3rd generation ?

    Hi my name is Vajra from INDIA, i am using ipod shuffle 3rd generation but it is not working properly due to battery problem, i need to change the battery please guide me how to change the battery or any chance to replace the ipod shuffle 3rd generation ?

    Seems no one care about us .no one replied till no@!!!!@ strange

  • Since latest Firefox update, other web sites will load but Netflix will not. Netflix will load in Internet Explorer.

    Since latest Firefox update, other web sites will load but Netflix will not. Netflix will load in Internet Explorer.

    Does it matter whether you use www? Will the sign-in link open: https://signup.netflix.com/#do-login
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    1. Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server. Any difference? If not...
    2. Clear Firefox's Cache Completely
    orange Firefox button ''or'' Tools menu > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    3. If needed, remove the site's cookies in this dialog
    While viewing a page on the site, right-click and choose View Page Info > Security > "View Cookies"
    Then try reloading the page. Does that help?

  • Have to run windows in safe mode with network to have browserws work correctly. using IE and Firefox. Fist web site comes in correctly next tab just sites wai

    have to run windows in safe mode with network to have browserws work correctly. using IE and Firefox. Fist web site comes in correctly next tab just sites waiting for web site Help

    If it works in Windows Safe mode then you have a problem with other software, possibly security software or a system driver, that is running on your computer.<br />
    It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    *https://support.mozilla.org/kb/fix-problems-connecting-websites-after-updating

  • My company phone was set up by our IT dept., he used his email and password, now i can't except some downloads. What do i need to do to change these to my account?

    my company phone was set up by our IT dept., he used his email and password, now i can't except some downloads. What do i need to do to change these to my account?

    It is a company phone, don't mess with it unless you get authorization from the company. The activation, and I suspect Find My Phone are all tied to the company for a reason. Unless of course you don't value your job.

  • Very often when I click bookmarks, it won't work. I have to close firefox and reopen it and then usually bookmarks will open. What's wrong?

    Basically, just as I said in the above question, frequently, bookmarks won't open when I click on it. If I close firefox and restart it, usually then I can access bookmarks. Is there anything that will fix this?

    '''Try the Firefox SafeMode''' to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • Is there any options/addons for selecting/changing image size when viewing images?

    When clicking to open images when on web pages there is no option to select size.
    I'm looking at some pages that have images (mostly jpg) I like to compare and that is very hard when all images open in a size that normally fill most of the browser window.
    So I wonder if there is some hidden options or addons for selecting image size when opening images for viewing?
    I have tried Image resizer/scaler, image zoom and show picture with mix results. Image resizer/scaler and image zoom allow resizing of images, but when opening images on same tab as web page the white image "frame" that is visible when reducing image size is left in original size. This make viewing and opening other pages a hazard.
    I'm grateful for any help...cheers :-)
    Picture of white frame
    http://s25.postimg.org/z1ubo6zun/Remove_Exterior_Fog_at_Skyrim_Nexus_mods_and_c.png

    hehe no offense, but I'm not following the version rushing from Mozilla. I'm using many customizations and addons and it is a nightmare to change to a new version and practically impossible to use last version. Also the FIrefox history have shown that earlier versions have both been more stable and had better implementation of features.
    Spending hours customizing and finding out that addons dont work with new version every time Firefox come with a new version , no thanks. For that to happen Firefox have to be more compatible across versions and more friendly toward customization in updates and new versions. I have used Firefox for at least 8-9 years with practically no security problems and one thing I have learned is: dont update or install next version if the version I have is working well.
    Maybe I should have mentioned this in this question, that Im using v26 and that my FIrefox is heavily modified with addons and customizations.
    '''Back to the subject'''
    Anyway I dont think any of my customizations or addons should create a white frame behind images, but I'm asking to find out if you guys also get this white frame when resizing pictures to a smaller size after clicking images for viewing.

  • Delivery day at customer are changing very often

    Hello,
    In our case for customer collaboration SNC5.1, the customer can receive the products on Tuesday and friday so we have assigned the time stream calendar according to this.
    Our requirement is such that sometimes customer wants the products to be shipped only on Thursday.
    so do we need to make another time stream ca;endar and assign it to location.
    Is there any way to tackle this scenario.
    Regards,
    Vaibhav Virkud

    Hi Vaibhav
    Check the below thread, it should help you
    /SAPAPO/LOC3 Shipping Calendar
    If you are completely aware of the dates, during which customer requests on thursday.
    You can manually change the periods in your shipping calendar, the fixed check box will not allow any automatic changes to the manually changed periods
    /n/sapapo/calendar, Tab Periods
    In this way you can avoid the two calendars...
    Regards
    Vinod

  • I installed the update and now my firefox is very slow and mixing up everything I press on the online college web site I have been using just fine since Feb. Now it won't download the stuff I need and turns the pages white. Help

    Firefox is extremely slow and I am having trouble opening my college web site.

    Firefox is extremely slow and I am having trouble opening my college web site.

  • Why does the "You need to restart your computer" error appear when I open Vuze?

    Hi there,
    I apologise that this has probably been asked many times however none of the relevant threads I have come across solved my issue.
    I have the most current version of Vuze and a Macbook Pro (Version 10.6.8 OS X).
    After using Vuze for a year with zero issues, today I have had to restart my MBP several times due to this error message which is displayed in 5 different languages: "You need to restart your computer. Hold down the Power button until it turns off, then press the Power button again."
    This error only occurs when Vuze is open.
    No idea why this is the case. Could it perhaps be a file I am downloading?
    Any help would be really appreciated. Thank you for your time.

    Don't unplug the M-box while your MBP is on.

Maybe you are looking for

  • Error message when downloading from Google Play Store

    After recently doing the toshiba system update for my AT300-32gb tablet I now get the following error message when downloading free apps from Google Play Store -Error processing purchase {DF-BPA-13]. Automatic update for downloaded apps no longer wor

  • ClassCastException while inserting in oracle.sql.BLOB

    Hi, I have to insert a blob data in to database . I wrote the code . I'm having a ClassCastException problem in the line oracle.sql.BLOB blob = oracle.sql.BLOB.createTemporary(st.getConnection(), false, oracle.sql.BLOB.DURATION_CALL); while trying to

  • Excelsius purchase

    Hi, We are in the process of evaluation for Enterprise business reporting and as of now we have SAP ECC for  transactional and BI as data ware housing tools. We are very much interested in Excelsius to connect with SAP BI and other non SAP datasource

  • What does the ac power cord hook up to?

    im a new mbp user. i recently got it. it came with the ac power cord and the ac plug. i know how to use the plug. but i dont know what the power cord goes to. help please? lol

  • [CDA+ISE] Multi-Homed (Wired/Wireless) Workstations only partially ID'd in CDA

    CDA Patch 2 ISE 1.2 Patch 5 CDA with AD and ISE integration is currently working, however for machines with BOTH a Wired and Wireless connection, CDA is auto-unmapping the wired connection, but leaving the wireless in place. ISE shows two valid sessi