cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <j3322...@yahoo.de>
Subject Re: german umlaut!
Date Mon, 09 Sep 2002 19:43:37 GMT
Wolle wrote:
> has anybody a proper solution for involving german umlaute in a
> cocoon-framework?

You can read the XML spec for some hints, or check some other
publishing systems, like DocBook.

> i have some ideas like
> 
> 1. writing the umlauts in  unicode (so creating a pdf via fop will cause
> no problems)
> 2. writing them in tex-style like "u or "o an exchange them later in
> every xsl-file
> 3. using extra-markups like <uml></uml>

4. Use a proper encoding declaration which matches the actual
    encoding of the file. For example, most platforms setup for
    a german language environment use ISO-8859-1, and usually
    editors use this as the default encoding. Placing
       <?xml version="1.0" encodign="ISO-8859-1"?>
    at the beginning of each XML file (XSLT is XML too) allows you
    to use native encoded umlauts.
5. Use numerical character references, for example &#148; for ö.
    You can place any unicode character in any XML file which has
    an encoding which is a superset of ASCII.
    The Unicode consortium has convenient tables for lookin up
    characters online at
      http://www.unicode.org/charts/charindex.html
6. Get a DTD with entity definitions for some characters, like
    a stripped down DocBook, or the HTML definitions (from
     http://www.w3.org/TR/html401/sgml/entities.html)
    and use the aliases defined there, for example &ouml; for ö.

J.Pietschmann


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message