OS2World OLD-STATIC-BACKUP Forum

WebSite Information => Article Discussions => Topic started by: CDRWSel on 2010.12.19, 23:57:35

Title: Firefox 3.6.13 and Thunderbird 3.1.7
Post by: CDRWSel on 2010.12.19, 23:57:35
http://www.os2world.com/content/view/20394/2/ (http://www.os2world.com/content/view/20394/2/)
Quote
Posted by Martin Iturbide - Monday, 13 December 2010


Official. .. .

Bug or not bug ?
Language code page isn't well taken under download window !

Title: Re: Firefox 3.6.13 and Thunderbird 3.1.7
Post by: RobertM on 2010.12.22, 03:01:34
http://www.os2world.com/content/view/20394/2/ (http://www.os2world.com/content/view/20394/2/)
Quote
Posted by Martin Iturbide - Monday, 13 December 2010


Official. .. .

Bug or not bug ?
Language code page isn't well taken under download window !



Is it a font issue? Perhaps that font doesn't properly support the code page?
Title: Re: Firefox 3.6.13 and Thunderbird 3.1.7
Post by: CDRWSel on 2010.12.22, 12:45:40
Well, I don't think so due firefox is installed as EN version and eComstation has "LANG=fr_FR_EURO"
All parts of Firefox are in english as it should except the download window (see "D├ęcembre" which should be "december") which is in French and the accent character is wrongly translated due to 850 eComstation code page...

Same is true after "yesterday"

I have "Yesterday" but for older downloads history, I have "Lundi" "Mardi" ... "Dimanche" etc...
As soon I have older then yesterday downloads history into downloads window, the day or month is in French !  

Strange !  
Title: Re: Firefox 3.6.13 and Thunderbird 3.1.7
Post by: jep on 2010.12.22, 15:12:54
Move your "Flash 10" files from the plugins folder so that FF doesn't load it.

//Jan-Erik
Title: Re: Firefox 3.6.13 and Thunderbird 3.1.7
Post by: CDRWSel on 2010.12.22, 16:04:32
No flash 10 installed.

(it was installed as test several weeks ago but due to many many "HUNG" requiring reboot per day "mp system", I fully removed it since several weeks. So, it is no more installed nor any files exist)      
Title: Re: Firefox 3.6.13 and Thunderbird 3.1.7
Post by: RobertM on 2010.12.23, 10:26:30
Ah... ok. I suspect the problem is in the way dates are handled in eCS and OS/2. If my suspicions are correct, then what you see is correct.

"Yesterday" is not a valid system datetime. Thus, it's coded as "Yesterday" in FF-EN.
"Monday" is just the EN representation of the 2nd/1st day of the week, and provided by the operating system.

Is this how various OS/2 programs that use the system date function report days of the week? I'm guessing it's a filesystem call, or it's a call to a function in FF that is trying to respect date/language conventions. Havent the time to look at the code though.

And of course, the incorrect accents, are, as you noted, because the codepage doesn't support the correct ones.

Title: Re: Firefox 3.6.13 and Thunderbird 3.1.7
Post by: RobertM on 2010.12.23, 10:38:59
Not sure how much sense that made... so let me explain it differently.

First, I am not sure if Firefox queries the system datetime when a file is downloaded or queries the filesystem or uses it's own routines. I would guess it's one of the first two though.

You download a file today. Firefox gets a date and time through one of probably the first two methods. If day=today, it says "Today" in Firefox's language (English, in this case) instead of showing the date. If day=Today-1, it says yesterday instead of showing the date - again in English, as that is how "Yesterday" is coded into FF-EN (I know of no system call that actually returns "Today" or "Yesterday", so those have to be "hardcoded" into Firefox).

If the file is older than that, it uses the date/time info returned via probably either step one or two above, meaning what you get is the locale based version of the date - in this case, "fr_FR_EURO" - which of course then results in incorrect accents due to the codepage.

I cannot think of a way around this. I would expect any function dependent on a/most system call(s) will return a result in the format determined by the various locale settings (language, date, time, numeric, currency, etc).

Not much help, I know... but it hopefully explains the situation - assuming my assumptions above are correct of course.
Title: Re: Firefox 3.6.13 and Thunderbird 3.1.7
Post by: RobertM on 2010.12.23, 11:02:24
Hmmm... dunno if this works, but you may wish to try one of the locale plugins for Firefox. Here's two:
https://addons.mozilla.org/en-US/firefox/addon/356/
https://addons.mozilla.org/en-US/firefox/addon/1333/

If Firefox does not use it's own date routines, and those are not capable of overriding the system settings, they probably won't work (if it does, and simply queries the locale information, then it probably will work) - but as I am not familiar with FF's code, I don't know. May be worth trying.

Best,
Rob
Title: Re: Firefox 3.6.13 and Thunderbird 3.1.7
Post by: CDRWSel on 2010.12.23, 14:19:27
Interesting thanks.
I'll check them and look if some firefox config entries exist for the download manager...

Cheers