[Doc-SIG] German Umlauts

Dinu Gherman gherman at darwin.in-berlin.de
Mon Jul 7 09:42:03 EDT 2003


Christian Tismer:

> Where I have problems are so-called "Umlauts".
> I know this is kinda Unicode issue, but I'd just
> like to know if and how this is handled in RST?

I'm much of a reST newbie myself, but I do see Umlauts using the
Latin-1 encoding and a call like this:

   rest = docutils.core.publish_string(
         text,
         writer_name='html',
         settings_overrides={'input_encoding': 'latin-1',
                             'output_encoding': 'latin-1'})

> The simple HTML way of ü doesn't work (why?).

Obviously, normal HTML snippets are not just recognised without
using some kind of magic directives or escaping mechanisms...
Finding that out is on my todo list as well...

Dinu

--
Dinu C. Gherman
......................................................................
"People are either hunting for husbands or hiding from them."
(Oscar Wilde)




More information about the Doc-SIG mailing list