[sword-devel] OSIS Web tool - unicode

Joachim Ansorg sword-devel@crosswire.org
Tue, 28 Oct 2003 09:45:03 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris,
I fixed it now and made use of xml:lang. Is it ok now?


Joachim


> Whatever needs to be done, the current situation is pretty unbearable.
> I'm guess that any module encoded as UTF-8 is being rendered with Code
> 2000--which looks horrible for Latin.  Since our goal (with Sword) is to
> get all data into Latin, this is a problem that's going to get worse
> with time.  It's also just a generally bad solution since Code 2000
> doesn't encode all of the codepoints we use in all UTF-8 encoded
> modules.  (So we're forcing people to use a font that is frequently
> incompatible with the module or unattractive to the point of not being
> readable.)  Letting the browser figure out which font to use worked a
> lot better for me under Windows (which, let's face it, most of the
> target audience will be using).
>
> BTW, with XHTML 1.1, the lang attribute is no longer valid.  xml:lang
> must be used instead.
>
> --Chris
>
> Don A. Elbourne Jr. wrote:
> > Hugo,
> >
> > I agree. Ideally we would use the lang attribute. however, if I
> > understand correctly, browser support is very limited for it. Using a
> > class in the meantime seems to be the preferred practice.
> >
> > by grace alone,
> >
> > Don A. Elbourne Jr.
> > http://elbourne.org
> >
> >
> > ----- Original Message -----
> > From: "Hugo van der Kooij" <hvdkooij@vanderkooij.org>
> > To: <sword-devel@crosswire.org>
> > Sent: Monday, October 27, 2003 6:51 PM
> > Subject: Re: [sword-devel] OSIS Web tool - unicode
> >
> >>On Mon, 27 Oct 2003, Don A. Elbourne Jr. wrote:
> >>>My suggestions is that we wrap any text needing a particular Unicode
> >
> > font
> >
> >>>with a span and give that span a class attribute that matches the
> >
> > language
> >
> >>>code. For example <span class="he"> for Hebrew. This will be more
> >>>semantically rich and forward compatible. We can then specify the
> >
> > Unicode
> >
> >>>font in the CSS.
> >>
> >>If my interpretation of the HTML specs are correctly we should use
> >>something like:
> >>
> >><span class="verse" lang=he">
> >>
> >>See also:
> >>http://www.w3.org/TR/html401/struct/global.html#edef-SPAN
> >>http://www.w3.org/TR/html401/struct/dirlang.html#idx-lang_attribute
> >>
> >>Hugo.
> >>
> >>--
> >> All email sent to me is bound to the rules described on my homepage.
> >>    hvdkooij@vanderkooij.org http://hvdkooij.xs4all.nl/
> >>    Don't meddle in the affairs of sysadmins,
> >>    for they are subtle and quick to anger.
> >>
> >>_______________________________________________
> >>sword-devel mailing list
> >>sword-devel@crosswire.org
> >>http://www.crosswire.org/mailman/listinfo/sword-devel
> >
> > _______________________________________________
> > sword-devel mailing list
> > sword-devel@crosswire.org
> > http://www.crosswire.org/mailman/listinfo/sword-devel
>
> _______________________________________________
> sword-devel mailing list
> sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel

- -- 
<>< Re: deemed!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/niyPEyRIb2AZBB0RArFyAJ9cyW/TkB8qOXRHMzJdqHy9ws7RwACeN0Ru
Q+8F13nzGFLsrmeVR0fakzg=
=LwYn
-----END PGP SIGNATURE-----