Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#3467 closed defect (worksforme)

Problem with Umlaut-letters (ä, ö, ü) within a code-block within a rst-Text

Reported by: v.errath@… 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 anonymous, 18 years ago

Component: generalwiki

comment:2 by Christian Boos, 18 years ago

Resolution: worksforme
Status: newclosed

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

import os.path # Hé, ça marche...

print "unmöglich"

Further text

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.