Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Native Unicode converter

13 views
Skip to first unread message

Jean-Marc Desperrier

unread,
Apr 4, 2006, 1:41:13 PM4/4/06
to
Doug Turner wrote:
> I wrote a native Unicode converter for windows ce which also works on
> Windows 32. This allows us to remove alot of code+data from firefox (on
> ARM i saved .67MB). This might be something we could enable on the trunk
> since we have dropped Windows 98 support. If you have time, i would love
> for you to evaluate it. To create a build, just add this like to your
> mozconfig:
>
> ac_add_options --enable-native-uconv
>
> The code for this converter lives here:
> http://lxr.mozilla.org/mozilla/source/intl/uconv/native/nsWinCEUConvService.cpp

I got a fast look at the code.

I wonder what part exactly makes you worry for 98 support ? Is that
about CP_UTF8 ? (referenced in your patch by it's numeric value 65001)

Then it's supported from 98 upward, in fact should also be available on
95 when you first install Internet Explorer on it, so as far as that
part is concernet even 2.0 could take it.

I was a bit surprised by the UTF-16/1200 entry in the map, and in fact
you should remove it. If actually used, it won't work.
Kaplan happens to explain that here :
http://blogs.msdn.com/michkap/archive/2005/08/01/446475.aspx

Cross-posted to mozilla.dev.i18n

Doug Turner

unread,
Apr 4, 2006, 2:37:17 PM4/4/06
to Jean-Marc Desperrier
Setting followups to i18n. Lets figure out if this will work for
general windows users there.

Doug

Doug Turner

unread,
Apr 4, 2006, 2:43:33 PM4/4/06
to Doug Turner, Jean-Marc Desperrier
So, in the bug

https://bugzilla.mozilla.org/show_bug.cgi?id=332646

Jungshik Shin points out a few problems with this approach. The test
cases also mentioned in the bug fail (a few of them do). I have no idea
how bad this is.

As far as the UTF-16/1200 entry... I generated the table by looking at
what unicode converters we support then discovering the code page that
IE uses. I noticed that a table like this (charset name -> codepage)
didn't exist, so I just dropped it in this code. (it is a linear search,
we can optimize later).

Regards,
Doug

Neil

unread,
Apr 5, 2006, 6:18:42 AM4/5/06
to
Jean-Marc Desperrier wrote:

> Then it's supported from 98 upward, in fact should also be available
> on 95 when you first install Internet Explorer on it, so as far as
> that part is concernet even 2.0 could take it.

We don't make Internet Explorer a prerequisite, that would be silly.

--
Warning: May contain traces of nuts.

Jean-Marc Desperrier

unread,
Apr 5, 2006, 7:16:05 AM4/5/06
to
Neil wrote:
> Jean-Marc Desperrier wrote:
>> Then it's supported from 98 upward, in fact should also be available
>> on 95 when you first install Internet Explorer on it, so as far as
>> that part is concernet even 2.0 could take it.
>
> We don't make Internet Explorer a prerequisite, that would be silly.

Yes, it's silly.
Let me rewrite this in a more meaningful way :
> It's supported from 98 upward, so as far as that part is concerned


> even 2.0 could take it."

Fx 1.5 already requires Win98 in the release notes.

> BTW : In fact it should also be available on 95 when you first install
> Internet Explorer on it"

Win95 + IE happens to be the undocumented minimal version to install
Firefox 1.0, I don't know about 1.5

Philip Chee

unread,
Apr 5, 2006, 9:47:00 AM4/5/06
to
On Wed, 05 Apr 2006 11:18:42 +0100, Neil wrote:
> Jean-Marc Desperrier wrote:

>> Then it's supported from 98 upward, in fact should also be available
>> on 95 when you first install Internet Explorer on it, so as far as
>> that part is concernet even 2.0 could take it.

> We don't make Internet Explorer a prerequisite, that would be silly.

What happened to the mzlu/opencow project to replace the M$ mslu layer?

Phil
--
Philip Chee <phi...@aleytys.pc.my>, <phili...@gmail.com>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
[ ]Now that I've given up hope I feel much better...
* TagZilla 0.059

Jean-Marc Desperrier

unread,
Apr 5, 2006, 2:27:38 PM4/5/06
to
Philip Chee wrote:
> What happened to the mzlu/opencow project to replace the M$ mslu layer?

I had no idea about that project. It seems it has been untouched since
december 2004, though.

0 new messages