#3467 closed defect (worksforme)
Problem with Umlaut-letters (ä, ö, ü) within a code-block within a rst-Text
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wiki system | Version: | 0.9.6 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
Hello
We found out that within a rst-Text-wiki site the "code-block" macro has a problem with umlaut letters like 'ö', 'ä', 'ü' (For german language).
A way that works is the following:
{{{
#!rst
Text
}}}
{{{
#!python
Code that contains öäü
}}}
{{{
#!rst
Text
}}}
and so on ...
If you try to use the ".. code-block:: python" then a python-code that contains 'ö', 'ü', 'ä' is not shown as highlighted Syntax. This section is only shown as a text-line with content: "None"
For example the source:
{{{
#!rst
Text
.. code-block:: python
import os.path
Further text
}}}
is shown as:
Text None Further text
If someone writes a lot of content (and all in rst-Text) this sollutions mentioned on the top can NOT be a solution to live with --> To complicate and time consuming.
Do you have any hints for me?
Attachments (0)
Change History (2)
comment:1 by , 19 years ago
| Component: | general → wiki |
|---|
comment:2 by , 19 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |



Well, here it seems to work, so maybe upgrading to 0.10 would be a solution.
{{{ #!rst Text .. code-block:: python import os.path # Hé, ça marche... print "unmöglich" Further text }}}Renders as:
Text
Further text